瀏覽代碼

Use the right macro define to initialize mem_requested

Ioannis Koutras 13 年之前
父節點
當前提交
f89062237a
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/initialize_allocator.c

+ 2 - 2
src/initialize_allocator.c

@@ -65,9 +65,9 @@ void initialize_allocator(allocator_t *allocator) {
         allocator->heaps[i].num_objects = 0;
 
 #ifdef WITH_STATS
-#ifdef FUTURE_FEATURES
+#ifdef REQUEST_SIZE_INFO
         allocator->heaps[i].dmm_stats.mem_requested = 0;
-#endif /* FUTURE_FEATURES */
+#endif /* REQUEST_SIZE_INFO */
         allocator->heaps[i].dmm_stats.mem_used = 0;
         allocator->heaps[i].dmm_stats.mem_allocated = 0;
         allocator->heaps[i].dmm_stats.live_objects = 0;