From: Royce Mitchell III Date: Sun, 27 Nov 2005 05:53:01 +0000 (+0000) Subject: msvc compatibility X-Git-Tag: backups/ros-branch-0_2_9@19949~260 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=9f87d33ef0b2178d4a771c55e1c6d3a0dc6d812c msvc compatibility svn path=/trunk/; revision=19671 --- diff --git a/reactos/include/reactos/debug.h b/reactos/include/reactos/debug.h index 6b0b61e5cd0..4d625b02141 100644 --- a/reactos/include/reactos/debug.h +++ b/reactos/include/reactos/debug.h @@ -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