summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-02-14 04:58:58 -0500
committermidipix <writeonce@midipix.org>2016-11-11 00:22:34 -0500
commitd431c154f3fbbb807d9f79633b10f28ec5aa2a03 (patch)
treece9b8648ede0a1671cd3542784e9bbcb14003e0c
parent5de0971a3f2810106c99cc79d320f7ca8d5b78ca (diff)
downloadmdso-d431c154f3fbbb807d9f79633b10f28ec5aa2a03.tar.bz2
mdso-d431c154f3fbbb807d9f79633b10f28ec5aa2a03.tar.xz
build system: darwin: define _DARWIN_C_SOURCE by default.
-rw-r--r--sysinfo/os/darwin.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysinfo/os/darwin.mk b/sysinfo/os/darwin.mk
index 7145f5a..f16b1f1 100644
--- a/sysinfo/os/darwin.mk
+++ b/sysinfo/os/darwin.mk
@@ -7,4 +7,6 @@ OS_IMPLIB_EXT = .invalid
OS_LIBDEF_EXT = .invalid
OS_ARCHIVE_EXT = .a
+CFLAGS_OS += -D_DARWIN_C_SOURCE
+
.PHONY: $(SHARED_IMPLIB)