Don't compile pool debug apis on a retail build
authorAlex Ionescu <aionescu@gmail.com>
Thu, 26 May 2005 13:41:46 +0000 (13:41 +0000)
committerAlex Ionescu <aionescu@gmail.com>
Thu, 26 May 2005 13:41:46 +0000 (13:41 +0000)
svn path=/trunk/; revision=15507

reactos/ntoskrnl/mm/npool.c

index c019519..b507e32 100644 (file)
@@ -872,7 +872,7 @@ MiDebugDumpNonPagedPoolStats(BOOLEAN NewOnly)
 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;