platform/shared/ruby/symbian/assert.h in rhodes-3.0.2 vs platform/shared/ruby/symbian/assert.h in rhodes-3.1.0.beta.1
- old
+ new
@@ -1,15 +1,15 @@
#ifndef _ASSERT_H_
#define _ASSERT_H_
-#ifdef NDEBUG
+#if defined( NDEBUG ) || !defined( DEBUG )
#define assert(_Expression) ((void)0)
#else
//void assert( int expression );
-#include "logging/RhoPlainLog.h"
+//#include "logging/RhoPlainLog.h"
#define assert(exp) RHO_ASSERT(exp)
#endif //NDEBUG