diff options
author | Alan Hourihane <[email protected]> | 2010-01-28 17:22:35 +0000 |
---|---|---|
committer | Alan Hourihane <[email protected]> | 2010-01-28 17:23:31 +0000 |
commit | 75cd6f3ece181b231dcf287bcb928f24f0d10962 (patch) | |
tree | 2114c28ea9e6210d16caa41cb38155ce6970aa6c | |
parent | 9b346f83a7b672e913a7bb6a089d5dbd7fbdce06 (diff) |
Don't define HAVE_POSIX_MEMALIGN for embedded target.
-rw-r--r-- | SConstruct | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct index 3b8a9e0341e..9f1e8a72ae3 100644 --- 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']) |