Author: mmlr Date: 2011-11-01 22:40:40 +0100 (Tue, 01 Nov 2011) New Revision: 43084 Changeset: https://dev.haiku-os.org/changeset/43084 Modified: haiku/trunk/src/system/kernel/slab/MemoryManager.h Log: Fix the build with memory manager tracing disabled. The guard was missing in the header. Modified: haiku/trunk/src/system/kernel/slab/MemoryManager.h =================================================================== --- haiku/trunk/src/system/kernel/slab/MemoryManager.h 2011-11-01 21:29:19 UTC (rev 43083) +++ haiku/trunk/src/system/kernel/slab/MemoryManager.h 2011-11-01 21:40:40 UTC (rev 43084) @@ -60,8 +60,10 @@ static bool MaintenanceNeeded(); static void PerformMaintenance(); +#if SLAB_MEMORY_MANAGER_ALLOCATION_TRACKING static bool AnalyzeAllocationCallers( AllocationTrackingCallback& callback); +#endif private: struct Tracing;