[winpr] define WINPR_ASSERT to assert
If WITH_VERBOSE_WINPR_ASSERT is not set define WINPR_ASSERT to be the normal C assert
This commit is contained in:
parent
c7bd8c3df9
commit
fb6c48bcc3
@ -41,10 +41,8 @@
|
||||
} \
|
||||
} while (0)
|
||||
#else
|
||||
#define WINPR_ASSERT(cond) \
|
||||
do \
|
||||
{ \
|
||||
} while (0)
|
||||
#include <assert.h>
|
||||
#define WINPR_ASSERT(cond) assert(cond)
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
Loading…
Reference in New Issue
Block a user