[Mesa-dev] [PATCH 5/9] gallivm: remove explicit __STDC_.*_MACROS defines

Roland Scheidegger sroland at vmware.com
Thu Jan 26 16:27:26 UTC 2017


Am 26.01.2017 um 14:24 schrieb Emil Velikov:
> From: Emil Velikov <emil.velikov at collabora.com>
> 
> Correctly handled by the build systems.
> 
> Cc: Roland Scheidegger <sroland at vmware.com>
> Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
> ---
>  src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 8 --------
>  1 file changed, 8 deletions(-)
> 
> diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
> index 21d9e15f1a..498bbd7809 100644
> --- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
> +++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
> @@ -32,14 +32,6 @@
>   */
>  
>  
> -#ifndef __STDC_LIMIT_MACROS
> -#define __STDC_LIMIT_MACROS
> -#endif
> -
> -#ifndef __STDC_CONSTANT_MACROS
> -#define __STDC_CONSTANT_MACROS
> -#endif
> -
>  // Undef these vars just to silence warnings
>  #undef PACKAGE_BUGREPORT
>  #undef PACKAGE_NAME
> 

Looks good to me, as long as it works :-).
Thanks for tackling this.

Reviewed-by: Roland Scheidegger <sroland at vmware.com>


More information about the mesa-dev mailing list