diff options
Diffstat (limited to 'include/malloc.h')
-rw-r--r-- | include/malloc.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/include/malloc.h b/include/malloc.h index 161ccbd1298..07d3e90a855 100644 --- a/include/malloc.h +++ b/include/malloc.h @@ -213,7 +213,6 @@ quickly avoid procedure declaration conflicts and linker symbol conflicts with existing memory allocation routines. - */ @@ -256,12 +255,10 @@ extern "C" { #include <stdio.h> /* needed for malloc_stats */ #endif - /* Compile-time options */ - /* Debugging: @@ -306,10 +303,8 @@ extern "C" { returns a unique pointer for malloc(0), so does realloc(p, 0). */ - /* #define REALLOC_ZERO_BYTES_FREES */ - /* WIN32 causes an emulation of sbrk to be compiled in mmap-based options are not currently supported in WIN32. @@ -335,7 +330,6 @@ extern "C" { #include <windows.h> #endif - /* HAVE_MEMCPY should be defined if you are not otherwise using ANSI STD C, but still have memcpy and memset in your C library @@ -460,7 +454,6 @@ do { \ #endif - /* Define HAVE_MMAP to optionally make malloc() use mmap() to allocate very large blocks. These will be returned to the @@ -563,7 +556,6 @@ do { \ # endif #endif - /* This version of malloc supports the standard SVID/XPG mallinfo @@ -626,7 +618,6 @@ struct mallinfo { #define M_MMAP_THRESHOLD -3 #define M_MMAP_MAX -4 - #ifndef DEFAULT_TRIM_THRESHOLD #define DEFAULT_TRIM_THRESHOLD (128 * 1024) #endif @@ -677,10 +668,8 @@ struct mallinfo { It must be greater than page size to have any useful effect. To disable trimming completely, you can set to (unsigned long)(-1); - */ - #ifndef DEFAULT_TOP_PAD #define DEFAULT_TOP_PAD (0) #endif @@ -713,7 +702,6 @@ struct mallinfo { */ - #ifndef DEFAULT_MMAP_THRESHOLD #define DEFAULT_MMAP_THRESHOLD (128 * 1024) #endif @@ -753,10 +741,8 @@ struct mallinfo { All together, these considerations should lead you to use mmap only for relatively large requests. - */ - #ifndef DEFAULT_MMAP_MAX #ifdef HAVE_MMAP #define DEFAULT_MMAP_MAX (64) @@ -784,7 +770,6 @@ struct mallinfo { in mallopt will fail. */ - /* USE_DL_PREFIX will prefix all public routines with the string 'dl'. Useful to quickly avoid procedure declaration conflicts and linker @@ -815,7 +800,6 @@ struct mallinfo { */ - #ifdef INTERNAL_LINUX_C_LIB #if __STD_C |