diff options
Diffstat (limited to 'src/shared/include/assert.h')
-rw-r--r-- | src/shared/include/assert.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/shared/include/assert.h b/src/shared/include/assert.h deleted file mode 100644 index 7520aa9..0000000 --- a/src/shared/include/assert.h +++ /dev/null @@ -1,7 +0,0 @@ -#ifdef NDEBUG -#define assert(stmt) do {} while (0) -#else -#define assert(stmt) do { if (!(stmt)) __badassert(__func__, __FILE__, __LINE__); } while (0) -#endif - -_Noreturn void __badassert(const char *func, const char *file, int line); |