Mesa (mesa_7_7_branch): darwin: Cleanup CPPFLAGS a bit

Jeremy Huddleston jeremyhu at kemper.freedesktop.org
Sun Dec 20 21:37:12 PST 2009


Module: Mesa
Branch: mesa_7_7_branch
Commit: da5741cf533ff5a3f0ee38e7d790b26e5e77ee21
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=da5741cf533ff5a3f0ee38e7d790b26e5e77ee21

Author: Jeremy Huddleston <jeremy at vincent.local>
Date:   Sun Dec 20 21:32:35 2009 -0800

darwin: Cleanup CPPFLAGS a bit
(cherry picked from commit 4a1e103858a1db0fb037891b8d4a9426eff32b98)

---

 configs/darwin |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configs/darwin b/configs/darwin
index 213c397..824f71c 100644
--- a/configs/darwin
+++ b/configs/darwin
@@ -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



More information about the mesa-commit mailing list