mirror of
https://github.com/glfw/glfw.git
synced 2025-06-08 00:34:56 +00:00
Small newlib fixes
This commit is contained in:
parent
6e61bfcaaf
commit
05a32db31b
@ -167,7 +167,11 @@ endif()
|
|||||||
|
|
||||||
if (GLFW_BUILD_OS4)
|
if (GLFW_BUILD_OS4)
|
||||||
target_compile_options(glfw PRIVATE "-DGL4ES" "-gstabs")
|
target_compile_options(glfw PRIVATE "-DGL4ES" "-gstabs")
|
||||||
target_link_libraries(glfw PRIVATE "-lGL")
|
if (CLIB4)
|
||||||
|
target_link_libraries(glfw PRIVATE "-lGL")
|
||||||
|
else()
|
||||||
|
target_link_libraries(glfw PRIVATE "-lgl4es -ldl")
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (GLFW_BUILD_COCOA)
|
if (GLFW_BUILD_COCOA)
|
||||||
|
@ -29,9 +29,15 @@
|
|||||||
|
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
|
|
||||||
|
#ifndef CLIB4
|
||||||
|
#undef __STRICT_ANSI__
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <stdarg.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
extern struct Library *DOSBase;
|
extern struct Library *DOSBase;
|
||||||
extern struct DOSIFace *IDOS;
|
extern struct DOSIFace *IDOS;
|
||||||
|
Loading…
Reference in New Issue
Block a user