projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80b949f
)
mesa: Add STRINGIFY macro.
author
Matt Turner
<mattst88@gmail.com>
Wed, 11 Dec 2013 00:21:16 +0000
(16:21 -0800)
committer
Matt 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
patch
|
blob
|
history
diff --git
a/src/mesa/main/macros.h
b/src/mesa/main/macros.h
index 379f75663875b0aad74b46c30de80f9959a5f316..dafeaa372f1c7ad7d6e5fbaadb787230127642a8 100644
(file)
--- 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