From 2f18e1e9a8fcbf3005cd57a82b02a728b342a0f5 Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 14 Feb 2016 04:28:28 -0500 Subject: build system: darwin: define _DARWIN_C_SOURCE by default. --- sysinfo/os/darwin.mk | 2 ++ 1 file changed, 2 insertions(+) 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) -- cgit v1.2.3