diff options
author | Vinson Lee <vlee@vmware.com> | 2010-01-23 21:05:58 -0800 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2010-01-23 21:05:58 -0800 |
commit | d57ba16ae3943a93071ef1bbab4a13725b8ea20c (patch) | |
tree | ed3ac95623284a54044b8104fbea4862761f0df7 /SConstruct | |
parent | 7f2f42dd8093e585a6edff2b1173cc39fc6391df (diff) | |
download | external_mesa3d-d57ba16ae3943a93071ef1bbab4a13725b8ea20c.zip external_mesa3d-d57ba16ae3943a93071ef1bbab4a13725b8ea20c.tar.gz external_mesa3d-d57ba16ae3943a93071ef1bbab4a13725b8ea20c.tar.bz2 |
scons: Define _DARWIN_C_SOURCE on Darwin builds.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -110,6 +110,8 @@ if platform in ('posix', 'linux', 'freebsd', 'darwin'): 'PTHREADS', 'HAVE_POSIX_MEMALIGN', ]) + if platform == 'darwin': + env.Append(CPPDEFINES = ['_DARWIN_C_SOURCE']) env.Append(CPPPATH = ['/usr/X11R6/include']) env.Append(LIBPATH = ['/usr/X11R6/lib']) env.Append(LIBS = [ |