summaryrefslogtreecommitdiff
path: root/scons
diff options
context:
space:
mode:
authorVinson Lee <vlee@freedesktop.org>2015-08-14 15:19:49 -0700
committerVinson Lee <vlee@freedesktop.org>2015-08-15 01:44:33 -0700
commitee113bbbc51f7c19da5c873410fadabfdd4d4a6d (patch)
tree2823d91ef8be453ac4a0b1ee0d90ca28ee0e0409 /scons
parentd19a98e2e63293e1dfd6947c18356e5bbefd2410 (diff)
downloadmesa-ee113bbbc51f7c19da5c873410fadabfdd4d4a6d.tar.gz
mesa-ee113bbbc51f7c19da5c873410fadabfdd4d4a6d.tar.bz2
mesa-ee113bbbc51f7c19da5c873410fadabfdd4d4a6d.zip
scons: Always define __STDC_LIMIT_MACROS.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91591 Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Diffstat (limited to 'scons')
-rwxr-xr-xscons/gallium.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scons/gallium.py b/scons/gallium.py
index 51b84d7652b..46dbf0ebd0e 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: