Changeset View
Changeset View
Standalone View
Standalone View
intern/guardedalloc/intern/mallocn_intern.h
| Context not available. | |||||
| #undef HAVE_MALLOC_STATS | #undef HAVE_MALLOC_STATS | ||||
| #define USE_MALLOC_USABLE_SIZE /* internal, when we have malloc_usable_size() */ | #define USE_MALLOC_USABLE_SIZE /* internal, when we have malloc_usable_size() */ | ||||
| #if defined(__linux__) || (defined(__FreeBSD_kernel__) && !defined(__FreeBSD__)) || \ | #if defined(HAVE_MALLOC_STATS_H) || (defined(__FreeBSD_kernel__) && !defined(__FreeBSD__)) | ||||
| defined(__GLIBC__) | |||||
| # include <malloc.h> | # include <malloc.h> | ||||
| # define HAVE_MALLOC_STATS | # define HAVE_MALLOC_STATS | ||||
| #elif defined(__FreeBSD__) | #elif defined(__FreeBSD__) | ||||
| Context not available. | |||||