https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c704cf5f87a818bda66bfad8cb75badedfc5c208

commit c704cf5f87a818bda66bfad8cb75badedfc5c208
Author:     Serge Gautherie <[email protected]>
AuthorDate: Thu Feb 22 15:26:10 2018 +0100
Commit:     Mark Jansen <[email protected]>
CommitDate: Sat Apr 7 12:00:10 2018 +0200

    [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 70c3cb488e..adecac6f46 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)

Reply via email to