[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:
akallabeth 2022-12-09 09:22:45 +01:00 committed by David Fort
parent c7bd8c3df9
commit fb6c48bcc3

View File

@ -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