util-src/pposix.c
changeset 9285 778d2dbfc784
parent 9284 927adf8648d3
child 9685 861d510e1876
child 10414 659b577f280c
--- a/util-src/pposix.c	Sat Sep 08 11:51:52 2018 +0200
+++ b/util-src/pposix.c	Sat Sep 08 11:52:44 2018 +0200
@@ -26,8 +26,10 @@
 #endif
 #endif
 #if defined(__APPLE__)
+#ifndef _DARWIN_C_SOURCE
 #define _DARWIN_C_SOURCE
 #endif
+#endif
 #ifndef _POSIX_C_SOURCE
 #define _POSIX_C_SOURCE 200809L
 #endif