From 1deb092a5f4592c05ef1c4d54c04ee568c8ffb11 Mon Sep 17 00:00:00 2001 From: Daniel O'Connor Date: Thu, 6 Sep 2012 14:32:17 +0930 Subject: [PATCH] Add OSX magic so we can use things like u_short (which is off for POSIX source which is presumably turned on by _XOPEN_SOURCE). --- Makefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 7672a8e1..50d7036d 100755 --- a/Makefile.in +++ b/Makefile.in @@ -105,7 +105,8 @@ CFLAGS+=-fPIC CFLAGS+=-Wall -Wno-unused-value # Solaris magic CFLAGS+=-DSHA2_USE_INTTYPES_H -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D__EXTENSIONS__=1 - +# OSX magic to compensate for the Solaris magic +CFLAGS+=-D_DARWIN_C_SOURCE -include Makefile.dbg DEFS= @DEFS@