Changeset

9282:778d2dbfc784

util.pposix: Allow _DARWIN_C_SOURCE to be overriden Like the others there
author Kim Alvefur <zash@zash.se>
date Sat, 08 Sep 2018 11:52:44 +0200
parents 9281:927adf8648d3
children 9283:e977b64ebd81
files util-src/pposix.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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