From ee113bbbc51f7c19da5c873410fadabfdd4d4a6d Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Fri, 14 Aug 2015 15:19:49 -0700 Subject: scons: Always define __STDC_LIMIT_MACROS. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91591 Signed-off-by: Vinson Lee Reviewed-by: Roland Scheidegger --- scons/gallium.py | 1 + 1 file changed, 1 insertion(+) (limited to 'scons') 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: -- cgit v1.2.3