[Mesa-dev] [PATCH] scons: Always define __STDC_LIMIT_MACROS.

Roland Scheidegger sroland at vmware.com
Fri Aug 14 16:05:00 PDT 2015


I'm hardly a build expert, but looks good to me.
Reviewed-by: Roland Scheidegger <sroland at vmware.com>

Am 15.08.2015 um 00:22 schrieb Vinson Lee:
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91591
> Signed-off-by: Vinson Lee <vlee at freedesktop.org>
> ---
>  scons/gallium.py | 1 +
>  1 file changed, 1 insertion(+)
> 
> 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:
> 



More information about the mesa-dev mailing list