diff options
-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, |