]> git.mdlowis.com Git - projs/libcds.git/commitdiff
Undefine assert if it's defined already
authorMichael D. Lowis <mike.lowis@gentex.com>
Fri, 26 Sep 2014 17:51:01 +0000 (13:51 -0400)
committerMichael D. Lowis <mike.lowis@gentex.com>
Fri, 26 Sep 2014 17:51:01 +0000 (13:51 -0400)
source/exn/exn.h

index 93ad5f699af282a6a5a1dd4b2ee6bafd0c4b29b2..e3a02064aae3ad75b9ccb1cebc4917aac33a6487 100755 (executable)
@@ -66,6 +66,10 @@ void exn_assert(bool expr);
 
 #define rethrow() exn_rethrow()
 
+
+#ifdef assert
+#undef assert
+#endif
 #ifdef NDEBUG
 #define assert(expr) ((void)0)
 #else