Fix macro to be optimized out, thanks to Filip
authorAlex Ionescu <aionescu@gmail.com>
Wed, 13 Jul 2005 15:46:59 +0000 (15:46 +0000)
committerAlex Ionescu <aionescu@gmail.com>
Wed, 13 Jul 2005 15:46:59 +0000 (15:46 +0000)
svn path=/trunk/; revision=16554

reactos/include/wine/debug.h

index 0476353..465f9fa 100644 (file)
@@ -20,7 +20,7 @@ unsigned long DbgPrint(char *Format,...);
 #endif
 
 #if !defined(DBG) || !defined(YDEBUG)
-#define DPRINT(...) do { DbgPrint(__VA_ARGS__); } while(0)
+#define DPRINT(...) do { if(0) { DbgPrint(__VA_ARGS__); } } while(0)
 #else
 #define DPRINT DbgPrint("(%s:%d:%s) ",__FILE__,__LINE__,__FUNCTION__), DbgPrint
 #endif