Fix UC_STATIC_ASSERT
This commit is contained in:
@@ -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, ...)\
|
||||
|
||||
Reference in New Issue
Block a user