summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2015-08-14 15:19:49 -0700
committerVinson Lee <[email protected]>2015-08-15 01:44:33 -0700
commitee113bbbc51f7c19da5c873410fadabfdd4d4a6d (patch)
tree2823d91ef8be453ac4a0b1ee0d90ca28ee0e0409
parentd19a98e2e63293e1dfd6947c18356e5bbefd2410 (diff)
scons: Always define __STDC_LIMIT_MACROS.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91591 Signed-off-by: Vinson Lee <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]>
-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: