[haiku-commits] r43084 - haiku/trunk/src/system/kernel/slab

  • From: mmlr@xxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 1 Nov 2011 22:40:40 +0100 (CET)

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;


Other related posts:

  • » [haiku-commits] r43084 - haiku/trunk/src/system/kernel/slab - mmlr