Browse Source

_XOPEN_SOURCE macro is now set via compiler commandline option

feature/2015
Christian Kroll 14 years ago
parent
commit
fa820f9dd7
  1. 2
      scrolltext/scrolltext3.c
  2. 1
      simulator/main.c
  3. 2
      simulator/util.c

2
scrolltext/scrolltext3.c

@ -1,7 +1,5 @@
#define SCROLLTEXT_C
#define _XOPEN_SOURCE 600
#include <stdlib.h>
#include <string.h>
#include <setjmp.h>

1
simulator/main.c

@ -4,7 +4,6 @@
#include <process.h>
#define pthread_t int
#else
#define _XOPEN_SOURCE 500
#ifdef OSX_
#include <GLUT/glut.h>
#else

2
simulator/util.c

@ -1,7 +1,5 @@
#ifdef _WIN32
#include <windows.h>
#else
#define _XOPEN_SOURCE 500
#endif
#include <stdlib.h>

Loading…
Cancel
Save