projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b346f8
)
Don't define HAVE_POSIX_MEMALIGN for embedded target.
author
Alan Hourihane
<alanh@vmware.com>
Thu, 28 Jan 2010 17:22:35 +0000
(17:22 +0000)
committer
Alan Hourihane
<alanh@vmware.com>
Thu, 28 Jan 2010 17:23:31 +0000
(17:23 +0000)
SConstruct
patch
|
blob
|
history
diff --git
a/SConstruct
b/SConstruct
index 3b8a9e0341ecc3c202c6cd7bfeb9fe4f2dd52a61..9f1e8a72ae3465d7e882b803092535c35733dcdd 100644
(file)
--- a/
SConstruct
+++ b/
SConstruct
@@
-126,8
+126,9
@@
if platform in ('posix', 'linux', 'freebsd', 'darwin', 'embedded'):
'_GNU_SOURCE',
'PTHREADS',
- 'HAVE_POSIX_MEMALIGN',
])
+ if platform != 'embedded':
+ env.Append(CPPDEFINES = ['HAVE_POSIX_MEMALIGN'])
if platform == 'darwin':
env.Append(CPPDEFINES = ['_DARWIN_C_SOURCE'])
env.Append(CPPPATH = ['/usr/X11R6/include'])