Changeset 1986 for trunk/src/kmk/make.h
- Timestamp:
- Oct 28, 2008, 2:59:10 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/make.h
r1976 r1986 208 208 #ifdef CONFIG_WITH_MAKE_STATS 209 209 extern long make_stats_allocations; 210 extern long make_stats_reallocations; 210 211 extern unsigned long make_stats_allocated; 211 extern unsigned long make_stats_allocated_sum;212 212 extern unsigned long make_stats_ht_lookups; 213 213 extern unsigned long make_stats_ht_collisions; … … 215 215 # ifdef __APPLE__ 216 216 # include <malloc/malloc.h> 217 # define SIZE_OF_HEAP_BLOCK(ptr) malloc_ size(ptr)217 # define SIZE_OF_HEAP_BLOCK(ptr) malloc_good_size(ptr) 218 218 219 219 # elif defined(__linux__) /* glibc */ … … 228 228 # define SIZE_OF_HEAP_BLOCK(ptr) 0 229 229 #endif 230 231 # if defined(CONFIG_WITH_MAKE_STATS) && !defined(ELECTRIC_HEAP)232 # define free xfree233 extern void xfree (void *);234 # endif235 230 236 231 # define MAKE_STATS_3(expr) do { expr; } while (0)
Note:
See TracChangeset
for help on using the changeset viewer.