diff options
author | quou <quou@disroot.org> | 2024-09-26 13:23:33 +0100 |
---|---|---|
committer | quou <quou@disroot.org> | 2024-09-26 22:24:38 +1000 |
commit | d412112fe1fcbef6d459f144516cd51b66f90612 (patch) | |
tree | a3a6fbd4026afe3ddc8398385d110844aada2d7b | |
parent | 4fb400bd32405cca6c2fe284818697db848c4fd5 (diff) |
only insert imp_asset in debug.
-rw-r--r-- | plat.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -9,6 +9,7 @@ struct Heap; #undef assert #endif +#ifdef DEBUG #define assert(expr) \ imp_assert( \ expr, \ @@ -16,6 +17,9 @@ struct Heap; __FILE__, \ __LINE__ \ ) +#else +#define assert(expr) +#endif int imp_assert( int val, |