diff --git a/3rdpart/assert.h b/3rdpart/assert.h index 37ba8324..efb2224f 100644 --- a/3rdpart/assert.h +++ b/3rdpart/assert.h @@ -26,6 +26,8 @@ #endif #define assert(exp) Assert_Throw(!(exp), #exp, __FUNCTION__, __FILE__, __LINE__); +#else + #define assert(e) ((void)0) #endif//NDEBUG #endif //ZLMEDIAKIT_ASSERT_H