From 81d52419cfaf143d9f157a2eff148a940a05ca69 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Tue, 10 Dec 2013 16:21:16 -0800 Subject: [PATCH] mesa: Add STRINGIFY macro. Reviewed-by: Jordan Justen --- src/mesa/main/macros.h | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.30.2