projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gallium: Add PIPE_CAP_ENDIANNESS
[mesa.git]
/
src
/
gallium
/
include
/
pipe
/
p_compiler.h
diff --git
a/src/gallium/include/pipe/p_compiler.h
b/src/gallium/include/pipe/p_compiler.h
index a131969c6ebe8702a4996e2e2314deb888517c04..78ec83c8489d494fee63a5484da513d7572210b0 100644
(file)
--- a/
src/gallium/include/pipe/p_compiler.h
+++ b/
src/gallium/include/pipe/p_compiler.h
@@
-255,7
+255,7
@@
void _ReadWriteBarrier(void);
*/
#define STATIC_ASSERT(COND) \
do { \
-
typedef int static_assertion_failed[(!!(COND))*2-1]
; \
+
(void) sizeof(char [1 - 2*!(COND)])
; \
} while (0)