Loading...
--- libmalloc/libmalloc-140.1.1/src/base.h
+++ libmalloc/libmalloc-283.60.1/src/base.h
@@ -47,8 +47,8 @@
__builtin_trap(); \
})
-#define MALLOC_PRINTF_FATAL_ERROR(cause, message) ({ \
- malloc_printf("*** FATAL ERROR - " message ".\n"); \
+#define MALLOC_REPORT_FATAL_ERROR(cause, message) ({ \
+ malloc_report(ASL_LEVEL_ERR, "*** FATAL ERROR - " message ".\n"); \
MALLOC_FATAL_ERROR((cause), message); \
})
@@ -114,8 +114,6 @@
#define MALLOC_PURGEABLE (1 << 5)
// call abort() on malloc errors, but not on out of memory.
#define MALLOC_ABORT_ON_CORRUPTION (1 << 6)
-// expanded small-zone free list size (256 slots)
-#define MALLOC_EXTENDED_SMALL_SLOTS (1 << 7)
/*
* msize - a type to refer to the number of quanta of a tiny or small