[Mesa-dev] [PATCH 1/7] mesa: Make STRINGIFY evaluate macros before stringifying.
Kristian Høgsberg
hoegsberg at gmail.com
Wed Jun 11 14:15:43 PDT 2014
On Tue, Jun 10, 2014 at 09:57:17PM -0700, Matt Turner wrote:
Except patch 4, series
Reviewed-by: Kristian Høgsberg <krh at bitplanet.net>
> ---
> src/mesa/main/macros.h | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/src/mesa/main/macros.h b/src/mesa/main/macros.h
> index 5228c3a..df6cb01 100644
> --- a/src/mesa/main/macros.h
> +++ b/src/mesa/main/macros.h
> @@ -821,6 +821,7 @@ DIFFERENT_SIGNS(GLfloat x, GLfloat y)
> #define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0]))
>
> /* Stringify */
> -#define STRINGIFY(x) #x
> +#define xSTRINGIFY(x) #x
> +#define STRINGIFY(x) xSTRINGIFY(x)
>
> #endif
> --
> 1.8.3.2
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list