[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)
|
} while (0)
|
||||||
#else
|
#else
|
||||||
#define WINPR_ASSERT(cond) \
|
#include <assert.h>
|
||||||
do \
|
#define WINPR_ASSERT(cond) assert(cond)
|
||||||
{ \
|
|
||||||
} while (0)
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
Loading…
x
Reference in New Issue
Block a user