Fix UC_STATIC_ASSERT

This commit is contained in:
Nils O. Selåsdal
2013-10-14 18:03:17 +02:00
parent 48678a9858
commit 6058be1c07
+1 -3
View File
@@ -9,9 +9,7 @@
//Gnerate a compiler error if the compile time
//constant expression fails
#define UC_STATIC_ASSERT(expr) \
do { \
enum { assert_static__ = 1/(expr) }; \
} while (0)
enum { assert_static__ = 1/(expr) };
#ifdef DEBUG
#define TRACEF(fmt, ...)\