summaryrefslogtreecommitdiffhomepage
path: root/sysinfo
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-02-14 04:58:03 -0500
committermidipix <writeonce@midipix.org>2016-02-14 04:58:03 -0500
commit9db2e513611cc65b297f975536a3441edcf6289a (patch)
tree60b0f4918b4efc85979275cbb8ee7f81900f0a5f /sysinfo
parente6d235f7f2c7282878a21160837b487787a8e94e (diff)
downloadsofort-9db2e513611cc65b297f975536a3441edcf6289a.tar.bz2
sofort-9db2e513611cc65b297f975536a3441edcf6289a.tar.xz
build system: darwin: define _DARWIN_C_SOURCE by default.
Diffstat (limited to 'sysinfo')
-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)