From: Vinson Lee Date: Fri, 14 Aug 2015 22:19:49 +0000 (-0700) Subject: scons: Always define __STDC_LIMIT_MACROS. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ee113bbbc51f7c19da5c873410fadabfdd4d4a6d;p=mesa.git 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 --- 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: