_XOPEN_SOURCE macro is now set via compiler commandline option
This commit is contained in:
parent
d09736355f
commit
fa820f9dd7
|
@ -1,7 +1,5 @@
|
||||||
#define SCROLLTEXT_C
|
#define SCROLLTEXT_C
|
||||||
|
|
||||||
#define _XOPEN_SOURCE 600
|
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <setjmp.h>
|
#include <setjmp.h>
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
#include <process.h>
|
#include <process.h>
|
||||||
#define pthread_t int
|
#define pthread_t int
|
||||||
#else
|
#else
|
||||||
#define _XOPEN_SOURCE 500
|
|
||||||
#ifdef OSX_
|
#ifdef OSX_
|
||||||
#include <GLUT/glut.h>
|
#include <GLUT/glut.h>
|
||||||
#else
|
#else
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#else
|
|
||||||
#define _XOPEN_SOURCE 500
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
Loading…
Reference in New Issue