Commit dfd8fabd by Henner Zeller

Don't #define _DEFAULT_SOURCE if already defined.

parent cc6834d4
...@@ -18,7 +18,9 @@ ...@@ -18,7 +18,9 @@
//#define _BSD_SOURCE //#define _BSD_SOURCE
#ifndef WIN32 #ifndef WIN32
#ifndef _DEFAULT_SOURCE
#define _DEFAULT_SOURCE #define _DEFAULT_SOURCE
#endif
#include <unistd.h> #include <unistd.h>
#endif #endif
......
...@@ -19,7 +19,9 @@ ...@@ -19,7 +19,9 @@
//#define _BSD_SOURCE //#define _BSD_SOURCE
#ifndef WIN32 #ifndef WIN32
#ifndef _DEFAULT_SOURCE
#define _DEFAULT_SOURCE #define _DEFAULT_SOURCE
#endif
#include <unistd.h> #include <unistd.h>
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment