From 75cd6f3ece181b231dcf287bcb928f24f0d10962 Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Thu, 28 Jan 2010 17:22:35 +0000 Subject: [PATCH] Don't define HAVE_POSIX_MEMALIGN for embedded target. --- SConstruct | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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']) -- 2.30.2