fixes
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
// Like the standard C assert, but also active in debug builds.
|
||||
#define assert(expr, msg, ...) \
|
||||
({ \
|
||||
do { \
|
||||
if (__unlikely(!(expr))) { \
|
||||
panic( \
|
||||
"In function \"%s\" (%s:%u):\n" \
|
||||
@@ -17,7 +17,7 @@
|
||||
##__VA_ARGS__ \
|
||||
); \
|
||||
} \
|
||||
})
|
||||
} while (0)
|
||||
|
||||
#ifndef NDEBUG
|
||||
#define debug_assert(...) assert(__VA_ARGS__)
|
||||
|
||||
Reference in New Issue
Block a user