msvc compatibility
authorRoyce Mitchell III <royce3@ev1.net>
Sun, 27 Nov 2005 05:53:01 +0000 (05:53 +0000)
committerRoyce Mitchell III <royce3@ev1.net>
Sun, 27 Nov 2005 05:53:01 +0000 (05:53 +0000)
svn path=/trunk/; revision=19671

reactos/include/reactos/debug.h

index 6b0b61e..4d625b0 100644 (file)
@@ -94,8 +94,17 @@ RtlAssert(
 #else
 
     /* On non-debug builds, we never show these */
+#ifdef _MSC_VER
+static __inline void DPRINT1 ( const char* fmt, ... )
+{
+}
+static __inline void DPRINT ( const char* fmt, ... )
+{
+}
+#else
     #define DPRINT1(...) do { if(0) { DbgPrint(__VA_ARGS__); } } while(0)
     #define DPRINT(...) do { if(0) { DbgPrint(__VA_ARGS__); } } while(0)
+#endif
     #define CHECKPOINT1
     #define CHECKPOINT
     #define UNIMPLEMENTED