summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/compiler.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/compiler.h b/include/compiler.h
index fb7baf8..5f5031d 100644
--- a/include/compiler.h
+++ b/include/compiler.h
@@ -248,18 +248,6 @@ static INLINE GLuint CPU_TO_LE32(GLuint x)
#endif
#endif
-
-/**
- * Static (compile-time) assertion.
- * Basically, use COND to dimension an array. If COND is false/zero the
- * array size will be -1 and we'll get a compilation error.
- */
-#define STATIC_ASSERT(COND) \
- do { \
- (void) sizeof(char [1 - 2*!(COND)]); \
- } while (0)
-
-
#if (__GNUC__ >= 3)
#define PRINTFLIKE(f, a) __attribute__ ((format(__printf__, f, a)))
#else