summaryrefslogtreecommitdiff
path: root/sysinfo/os
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-02-14 04:28:28 -0500
committermidipix <writeonce@midipix.org>2016-11-10 23:35:37 -0500
commit2f18e1e9a8fcbf3005cd57a82b02a728b342a0f5 (patch)
treeee069e3732406b2d6b0a5f0cf84500c42f7f67b2 /sysinfo/os
parent596f2fe7e152dbb8c20ac363d333c83eb38543f4 (diff)
downloadperk-2f18e1e9a8fcbf3005cd57a82b02a728b342a0f5.tar.bz2
perk-2f18e1e9a8fcbf3005cd57a82b02a728b342a0f5.tar.xz
build system: darwin: define _DARWIN_C_SOURCE by default.
Diffstat (limited to 'sysinfo/os')
-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)