[SDK:REACTOS] Define UNIMPLEMENTED_ONCE for "!DBG && _MSC_VER" too

- Addendum to 81eb3bbceb.
- Merge "_MSC_VER" and "!_MSC_VER" cases, to prevent such a mistake.
This commit is contained in:
Serge Gautherie 2018-02-22 15:26:10 +01:00 committed by Mark Jansen
parent a5f12908df
commit c704cf5f87

View file

@ -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)