_XOPEN_SOURCE macro is now set via compiler commandline option

This commit is contained in:
Christian Kroll 2011-03-14 10:29:33 +00:00
parent d09736355f
commit fa820f9dd7
3 changed files with 0 additions and 5 deletions

View File

@ -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>

View File

@ -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

View File

@ -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>