# HG changeset patch # User Kim Alvefur # Date 1536400364 -7200 # Node ID 778d2dbfc784cd0076fc994784525a1f6a3f564d # Parent 927adf8648d3d56e62c291fba425876f0ea9b5ee util.pposix: Allow _DARWIN_C_SOURCE to be overriden Like the others there diff -r 927adf8648d3 -r 778d2dbfc784 util-src/pposix.c --- 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