From: Jeremy Huddleston Date: Mon, 21 Dec 2009 05:32:35 +0000 (-0800) Subject: darwin: Cleanup CPPFLAGS a bit X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=da5741cf533ff5a3f0ee38e7d790b26e5e77ee21;p=mesa.git darwin: Cleanup CPPFLAGS a bit (cherry picked from commit 4a1e103858a1db0fb037891b8d4a9426eff32b98) --- diff --git a/configs/darwin b/configs/darwin index 213c397287e..824f71c0cc1 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