diff options
author | Matt Turner <[email protected]> | 2013-12-10 16:21:16 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2014-01-21 14:09:33 -0800 |
commit | 81d52419cfaf143d9f157a2eff148a940a05ca69 (patch) | |
tree | 2e1524f83381c31275dee19ecf7e7826fbb7446b | |
parent | 80b949f16b3461c65273bb5d0e263dfffaab400e (diff) |
mesa: Add STRINGIFY macro.
Reviewed-by: Jordan Justen <[email protected]>
-rw-r--r-- | src/mesa/main/macros.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |