projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f2f42d
)
scons: Define _DARWIN_C_SOURCE on Darwin builds.
author
Vinson Lee
<vlee@vmware.com>
Sun, 24 Jan 2010 05:05:58 +0000
(21:05 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Sun, 24 Jan 2010 05:05:58 +0000
(21:05 -0800)
SConstruct
patch
|
blob
|
history
diff --git
a/SConstruct
b/SConstruct
index
f43c10c
..
455b471
100644
(file)
--- a/
SConstruct
+++ b/
SConstruct
@@
-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 = [