Module: Mesa
Branch: master
Commit: 75cd6f3ece181b231dcf287bcb928f24f0d10962
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=75cd6f3ece181b231dcf287bcb928f24f0d10962

Author: Alan Hourihane <al...@vmware.com>
Date:   Thu Jan 28 17:22:35 2010 +0000

Don't define HAVE_POSIX_MEMALIGN for embedded target.

---

 SConstruct |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/SConstruct b/SConstruct
index 3b8a9e0..9f1e8a7 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'])

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to