From 90cb134f6d4325e257a2d3ea1c4964e65b16b57f Mon Sep 17 00:00:00 2001
From: Kim Alvefur <zash@zash.se>
Date: Sat, 8 Sep 2018 11:52:44 +0200
Subject: util.pposix: Allow _DARWIN_C_SOURCE to be overriden

Like the others there
---
 util-src/pposix.c | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'util-src')

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
-- 
cgit v1.2.3