mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-25 12:11:36 +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