sleep forever bug fixed
[chaz/yoink] / src / Moof / Log.hh
index 1f9d0c6b084d9a6f404f3ec756d7c6eb9418c9c2..221827f4eb86fcbcb03e4b6b628124b48e6dc8d4 100644 (file)
  * @param X test to perform
  */
 
-#if ! NDEBUG
+#undef ASSERT
+
+#if NDEBUG
+#define ASSERT(X)
+#else
 #define ASSERT(X) if (!(X)) Mf::logError("false assertion at %s:%d, " #X, \
                __FILE__, __LINE__), exit(1)
-#else
-#define ASSERT(X)
 #endif
 
 
This page took 0.014395 seconds and 4 git commands to generate.