mirror of
https://gitee.com/xia-chu/ZLMediaKit.git
synced 2026-05-17 23:37:49 +08:00
release编译时修复assert宏相关警告
This commit is contained in:
parent
932da46c3a
commit
aeb2f910c1
@ -26,6 +26,8 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define assert(exp) Assert_Throw(!(exp), #exp, __FUNCTION__, __FILE__, __LINE__);
|
#define assert(exp) Assert_Throw(!(exp), #exp, __FUNCTION__, __FILE__, __LINE__);
|
||||||
|
#else
|
||||||
|
#define assert(e) ((void)0)
|
||||||
#endif//NDEBUG
|
#endif//NDEBUG
|
||||||
|
|
||||||
#endif //ZLMEDIAKIT_ASSERT_H
|
#endif //ZLMEDIAKIT_ASSERT_H
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user