Fix UC_STATIC_ASSERT
This commit is contained in:
@@ -9,9 +9,7 @@
|
|||||||
//Gnerate a compiler error if the compile time
|
//Gnerate a compiler error if the compile time
|
||||||
//constant expression fails
|
//constant expression fails
|
||||||
#define UC_STATIC_ASSERT(expr) \
|
#define UC_STATIC_ASSERT(expr) \
|
||||||
do { \
|
enum { assert_static__ = 1/(expr) };
|
||||||
enum { assert_static__ = 1/(expr) }; \
|
|
||||||
} while (0)
|
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
#define TRACEF(fmt, ...)\
|
#define TRACEF(fmt, ...)\
|
||||||
|
|||||||
Reference in New Issue
Block a user