Fixed DEBUG_IF

This commit is contained in:
2016-02-03 14:43:50 +01:00
parent ff26e1235c
commit 02b69a86e7
+1 -1
View File
@@ -4,7 +4,7 @@
// } // }
// NOTE: condition statement is not executed at all in release mode. // NOTE: condition statement is not executed at all in release mode.
#ifndef DEBUG_IF #ifndef DEBUG_IF
#ifndef DEBUG #ifdef DEBUG
#define DEBUG_IF(c) if(c) #define DEBUG_IF(c) if(c)
#else #else
#define DEBUG_IF(c) if(false) #define DEBUG_IF(c) if(false)