mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 00:30:11 +01:00
mesa: Add STRINGIFY macro.
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
parent
80b949f16b
commit
81d52419cf
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue