[ros-diffs] [ion] 15519: DEBUG1 on checked only

ion at svn.reactos.com ion at svn.reactos.com
Thu May 26 15:53:16 CEST 2005


DEBUG1 on checked only
Modified: trunk/reactos/ntoskrnl/include/internal/debug.h
  _____  

Modified: trunk/reactos/ntoskrnl/include/internal/debug.h
--- trunk/reactos/ntoskrnl/include/internal/debug.h	2005-05-26
13:52:30 UTC (rev 15518)
+++ trunk/reactos/ntoskrnl/include/internal/debug.h	2005-05-26
13:53:15 UTC (rev 15519)
@@ -73,9 +73,16 @@

 #define CPRINT DbgPrint("(%s:%d) ",__FILE__,__LINE__); DbgPrint
 #endif
 
+#ifdef __GNUC__ /* using GNU C/C99 macro ellipsis */
+#define DPRINT1(args...) do { DbgPrint("(%s:%d) ",__FILE__,__LINE__);
DbgPrint(args); } while(0)
+#else
+#define DPRINT1 DbgPrint("(%s:%d) ",__FILE__,__LINE__); DbgPrint
+#endif
+
 #else /* DBG */
 
 #define CPRINT(args...)
+#define DPRINT1(args...)
 #define assert(x)
 #define ASSERT(x)
 #define assertmsg(_c_, _m_)
@@ -83,12 +90,6 @@
 
 #endif /* DBG */
 
-#ifdef __GNUC__ /* using GNU C/C99 macro ellipsis */
-#define DPRINT1(args...) do { DbgPrint("(%s:%d) ",__FILE__,__LINE__);
DbgPrint(args); } while(0)
-#else
-#define DPRINT1 DbgPrint("(%s:%d) ",__FILE__,__LINE__); DbgPrint
-#endif
-
 #define CHECKPOINT1 do { DbgPrint("%s:%d\n",__FILE__,__LINE__); }
while(0)
 
 #ifndef NDEBUG
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050526/0b76b63e/attachment.html


More information about the Ros-diffs mailing list