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)