Commit 75cd6f3e authored by Alan Hourihane's avatar Alan Hourihane

Don't define HAVE_POSIX_MEMALIGN for embedded target.

parent 9b346f83
......@@ -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'])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment