https://git.reactos.org/?p=reactos.git;a=commitdiff;h=9a633f7b48b636a981332…
commit 9a633f7b48b636a981332c18bd01e7028bbc9cc2
Author: Pierre Schweitzer <pierre(a)reactos.org>
AuthorDate: Fri Dec 29 18:03:33 2017 +0100
[NTOSKRNL] Fix MSVC build
---
ntoskrnl/mm/ARM3/expool.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/ntoskrnl/mm/ARM3/expool.c b/ntoskrnl/mm/ARM3/expool.c
index 7263141f4c..e892999ed3 100644
--- a/ntoskrnl/mm/ARM3/expool.c
+++ b/ntoskrnl/mm/ARM3/expool.c
@@ -475,9 +475,14 @@ ExpTagAllowPrint(CHAR Tag)
return FALSE;
}
+#ifdef KDBG
#define MiDumperPrint(dbg, fmt, ...) \
if (dbg) KdbpPrint(fmt, ##__VA_ARGS__); \
else DPRINT1(fmt, ##__VA_ARGS__)
+#else
+#define MiDumperPrint(dbg, fmt, ...) \
+ DPRINT1(fmt, ##__VA_ARGS__)
+#endif
VOID
MiDumpPoolConsumers(BOOLEAN CalledFromDbg, ULONG Tag, ULONG Mask)