diff options
author | Kim Alvefur <zash@zash.se> | 2018-09-08 11:52:44 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-09-08 11:52:44 +0200 |
commit | 2f939029ef95c96bc718609b7708d4a00f0753a7 (patch) | |
tree | 66e654e9bcd447b6bc534d89ec08f8cb23e4dd00 /util-src/pposix.c | |
parent | 53b9150562598d8e462bfb05d31fae3fed1bd7d0 (diff) | |
download | prosody-2f939029ef95c96bc718609b7708d4a00f0753a7.tar.gz prosody-2f939029ef95c96bc718609b7708d4a00f0753a7.zip |
util.pposix: Allow _DARWIN_C_SOURCE to be overriden
Like the others there
Diffstat (limited to 'util-src/pposix.c')
-rw-r--r-- | util-src/pposix.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util-src/pposix.c b/util-src/pposix.c index 257ab0e9..5c926603 100644 --- a/util-src/pposix.c +++ b/util-src/pposix.c @@ -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 |