From: Vinson Lee Date: Fri, 14 Aug 2015 22:19:49 +0000 (-0700) Subject: scons: Always define __STDC_LIMIT_MACROS. X-Git-Tag: upstream/17.1.0~16861 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ee113bbbc51f7c19da5c873410fadabfdd4d4a6d;p=platform%2Fupstream%2Fmesa.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 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: