From 9a633f7b48b636a981332c18bd01e7028bbc9cc2 Mon Sep 17 00:00:00 2001 From: Pierre Schweitzer Date: Fri, 29 Dec 2017 18:03:33 +0100 Subject: [PATCH] [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 7263141f4cc..e892999ed35 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)