From: Matt Turner Date: Wed, 11 Dec 2013 00:21:16 +0000 (-0800) Subject: mesa: Add STRINGIFY macro. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=81d52419cfaf143d9f157a2eff148a940a05ca69;p=mesa.git mesa: Add STRINGIFY macro. Reviewed-by: Jordan Justen --- diff --git a/src/mesa/main/macros.h b/src/mesa/main/macros.h index 379f7566387..dafeaa372f1 100644 --- a/src/mesa/main/macros.h +++ b/src/mesa/main/macros.h @@ -809,5 +809,7 @@ DIFFERENT_SIGNS(GLfloat x, GLfloat y) /* Compute the size of an array */ #define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0])) +/* Stringify */ +#define STRINGIFY(x) #x #endif