mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-27 17:50:04 +01:00
Proper DEBUG flag
This commit is contained in:
@@ -3,10 +3,10 @@
|
||||
|
||||
#include "private/macros.h"
|
||||
|
||||
#ifdef NDEBUG
|
||||
#define assert(e) ((void)0)
|
||||
#else
|
||||
#ifdef DEBUG
|
||||
#define assert(e) ((void) ((e) ? ((void)0) : __assert(#e, __FILE__, __LINE__)))
|
||||
#else
|
||||
#define assert(e) ((void)0)
|
||||
#endif
|
||||
|
||||
LIBA_BEGIN_DECLS
|
||||
|
||||
Reference in New Issue
Block a user