summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-02-14 04:58:23 -0500
committermidipix <writeonce@midipix.org>2016-02-14 04:58:23 -0500
commit35ee36e94e5d1e2d160b1c0be26c7feaa41c85fa (patch)
tree58b33d0da7b10cc02c09eee541adb16086fbdd71
parent98c8e71993483c4f6e64ffb027c9e7a553ea5b9b (diff)
downloadapimagic-35ee36e94e5d1e2d160b1c0be26c7feaa41c85fa.tar.bz2
apimagic-35ee36e94e5d1e2d160b1c0be26c7feaa41c85fa.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)