Don't compile pool debug apis on a retail build
Modified: trunk/reactos/ntoskrnl/mm/npool.c
_____
Modified: trunk/reactos/ntoskrnl/mm/npool.c
--- trunk/reactos/ntoskrnl/mm/npool.c 2005-05-26 13:41:04 UTC (rev
15506)
+++ trunk/reactos/ntoskrnl/mm/npool.c 2005-05-26 13:41:46 UTC (rev
15507)
@@ -872,7 +872,7 @@
VOID
MiDebugDumpNonPagedPool(BOOLEAN NewOnly)
{
-#ifndef WHOLE_PAGE_ALLOCATIONS
+#if defined(POOL_DEBUG_APIS) && !defined(WHOLE_PAGE_ALLOCATIONS)
BLOCK_HDR* current;
PLIST_ENTRY current_entry;
KIRQL oldIrql;
Show replies by date