From c704cf5f87a818bda66bfad8cb75badedfc5c208 Mon Sep 17 00:00:00 2001 From: Serge Gautherie Date: Thu, 22 Feb 2018 15:26:10 +0100 Subject: [PATCH] [SDK:REACTOS] Define UNIMPLEMENTED_ONCE for "!DBG && _MSC_VER" too - Addendum to 81eb3bbceb518c331f3d8e4754ad61adc0e94d33. - Merge "_MSC_VER" and "!_MSC_VER" cases, to prevent such a mistake. --- sdk/include/reactos/debug.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/sdk/include/reactos/debug.h b/sdk/include/reactos/debug.h index 70c3cb488e2..adecac6f467 100644 --- a/sdk/include/reactos/debug.h +++ b/sdk/include/reactos/debug.h @@ -132,12 +132,12 @@ RtlAssert( #else /* not DBG */ /* On non-debug builds, we never show these */ + #define UNIMPLEMENTED + #define UNIMPLEMENTED_ONCE #if defined(_MSC_VER) #define DPRINT1 __noop #define DPRINT __noop - #define UNIMPLEMENTED - #define ERR_(ch, ...) __noop #define WARN_(ch, ...) __noop #define TRACE_(ch, ...) __noop @@ -151,9 +151,6 @@ RtlAssert( #define DPRINT1(...) do { if(0) { DbgPrint(__VA_ARGS__); } } while(0) #define DPRINT(...) do { if(0) { DbgPrint(__VA_ARGS__); } } while(0) - #define UNIMPLEMENTED - #define UNIMPLEMENTED_ONCE - #define ERR_(ch, ...) do { if(0) { DbgPrint(__VA_ARGS__); } } while(0) #define WARN_(ch, ...) do { if(0) { DbgPrint(__VA_ARGS__); } } while(0) #define TRACE_(ch, ...) do { if(0) { DbgPrint(__VA_ARGS__); } } while(0)