darwin: Cleanup CPPFLAGS a bit
authorJeremy Huddleston <jeremy@vincent.local>
Mon, 21 Dec 2009 05:32:35 +0000 (21:32 -0800)
committerJeremy Huddleston <jeremy@vincent.local>
Mon, 21 Dec 2009 05:32:35 +0000 (21:32 -0800)
configs/darwin

index 213c397287e9f2a0bca2d11d5a460a0b8c1a4af9..824f71c0cc1bbaed3f82e0370da67539d44547ec 100644 (file)
@@ -12,10 +12,10 @@ X11_DIR = $(INSTALL_DIR)
 CC = gcc
 CXX = g++
 PIC_FLAGS = -fPIC
-DEFINES =  -D_DARWIN_C_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L \
-          -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DPTHREADS \
+DEFINES =  -D_DARWIN_C_SOURCE -DPTHREADS -D_GNU_SOURCE \
           -DGLX_ALIAS_UNSUPPORTED -DGLX_INDIRECT_RENDERING
 
+# -D_GNU_SOURCE          - for src/mesa/main ...
 # -DGLX_DIRECT_RENDERING - pulls in libdrm stuff in glx/x11
 # -DGLX_USE_APPLEGL      - supposed to be used with GLX_DIRECT_RENDERING to use AGL rather than DRM, but doesn't compile
 # -DIN_DRI_DRIVER