Mesa (master): scons: Always define __STDC_LIMIT_MACROS.

Vinson Lee vlee at kemper.freedesktop.org
Sat Aug 15 08:48:46 UTC 2015


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

Author: Vinson Lee <vlee at freedesktop.org>
Date:   Fri Aug 14 15:19:49 2015 -0700

scons: Always define __STDC_LIMIT_MACROS.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91591
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
Reviewed-by: Roland Scheidegger <sroland at vmware.com>

---

 scons/gallium.py |    1 +
 1 file changed, 1 insertion(+)

diff --git a/scons/gallium.py b/scons/gallium.py
index 51b84d7..46dbf0e 100755
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -300,6 +300,7 @@ def generate(env):
 
     # C preprocessor options
     cppdefines = []
+    cppdefines += ['__STDC_LIMIT_MACROS']
     if env['build'] in ('debug', 'checked'):
         cppdefines += ['DEBUG']
     else:




More information about the mesa-commit mailing list