From d431c154f3fbbb807d9f79633b10f28ec5aa2a03 Mon Sep 17 00:00:00 2001 From: midipix Date: Nov 11 2016 05:22:34 +0000 Subject: build system: darwin: define _DARWIN_C_SOURCE by default. --- 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)