[NTOSKRNL] Fix MSVC build

This commit is contained in:
Pierre Schweitzer 2017-12-29 18:03:33 +01:00
parent 4e34bf2a0b
commit 9a633f7b48
No known key found for this signature in database
GPG Key ID: 7545556C3D585B0B

View File

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