docs: Mention EGL and OpenGL ES in 7.8 release notes.
[mesa.git] / SConstruct
index 787ff6e2d6b3e1d28a01cb0031031c3032681f22..ff06b9b5921c20d0901dd0ab77fd715f57da84c2 100644 (file)
@@ -97,6 +97,9 @@ env.Append(CPPPATH = [
        '#/src/gallium/drivers',
 ])
 
+if env['msvc']:
+    env.Append(CPPPATH = ['#include/c99'])
+
 
 # Posix
 if platform in ('posix', 'linux', 'freebsd', 'darwin'):
@@ -110,6 +113,8 @@ if platform in ('posix', 'linux', 'freebsd', 'darwin'):
                'PTHREADS',
                'HAVE_POSIX_MEMALIGN',
        ])
+       if platform == 'darwin':
+               env.Append(CPPDEFINES = ['_DARWIN_C_SOURCE'])
        env.Append(CPPPATH = ['/usr/X11R6/include'])
        env.Append(LIBPATH = ['/usr/X11R6/lib'])
        env.Append(LIBS = [