mesa: Add STRINGIFY macro.
authorMatt Turner <mattst88@gmail.com>
Wed, 11 Dec 2013 00:21:16 +0000 (16:21 -0800)
committerMatt Turner <mattst88@gmail.com>
Tue, 21 Jan 2014 22:09:33 +0000 (14:09 -0800)
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/main/macros.h

index 379f75663875b0aad74b46c30de80f9959a5f316..dafeaa372f1c7ad7d6e5fbaadb787230127642a8 100644 (file)
@@ -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