Blame jemalloc/include/jemalloc/jemalloc_defs.h.in
|
Packit |
345191 |
/* Defined if __attribute__((...)) syntax is supported. */
|
|
Packit |
345191 |
#undef JEMALLOC_HAVE_ATTR
|
|
Packit |
345191 |
|
|
Packit |
345191 |
/* Defined if alloc_size attribute is supported. */
|
|
Packit |
345191 |
#undef JEMALLOC_HAVE_ATTR_ALLOC_SIZE
|
|
Packit |
345191 |
|
|
Packit |
345191 |
/* Defined if format_arg(...) attribute is supported. */
|
|
Packit |
345191 |
#undef JEMALLOC_HAVE_ATTR_FORMAT_ARG
|
|
Packit |
345191 |
|
|
Packit |
345191 |
/* Defined if format(gnu_printf, ...) attribute is supported. */
|
|
Packit |
345191 |
#undef JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF
|
|
Packit |
345191 |
|
|
Packit |
345191 |
/* Defined if format(printf, ...) attribute is supported. */
|
|
Packit |
345191 |
#undef JEMALLOC_HAVE_ATTR_FORMAT_PRINTF
|
|
Packit |
345191 |
|
|
Packit |
345191 |
/*
|
|
Packit |
345191 |
* Define overrides for non-standard allocator-related functions if they are
|
|
Packit |
345191 |
* present on the system.
|
|
Packit |
345191 |
*/
|
|
Packit |
345191 |
#undef JEMALLOC_OVERRIDE_MEMALIGN
|
|
Packit |
345191 |
#undef JEMALLOC_OVERRIDE_VALLOC
|
|
Packit |
345191 |
|
|
Packit |
345191 |
/*
|
|
Packit |
345191 |
* At least Linux omits the "const" in:
|
|
Packit |
345191 |
*
|
|
Packit |
345191 |
* size_t malloc_usable_size(const void *ptr);
|
|
Packit |
345191 |
*
|
|
Packit |
345191 |
* Match the operating system's prototype.
|
|
Packit |
345191 |
*/
|
|
Packit |
345191 |
#undef JEMALLOC_USABLE_SIZE_CONST
|
|
Packit |
345191 |
|
|
Packit |
345191 |
/*
|
|
Packit |
345191 |
* If defined, specify throw() for the public function prototypes when compiling
|
|
Packit |
345191 |
* with C++. The only justification for this is to match the prototypes that
|
|
Packit |
345191 |
* glibc defines.
|
|
Packit |
345191 |
*/
|
|
Packit |
345191 |
#undef JEMALLOC_USE_CXX_THROW
|
|
Packit |
345191 |
|
|
Packit |
345191 |
#ifdef _MSC_VER
|
|
Packit |
345191 |
# ifdef _WIN64
|
|
Packit |
345191 |
# define LG_SIZEOF_PTR_WIN 3
|
|
Packit |
345191 |
# else
|
|
Packit |
345191 |
# define LG_SIZEOF_PTR_WIN 2
|
|
Packit |
345191 |
# endif
|
|
Packit |
345191 |
#endif
|
|
Packit |
345191 |
|
|
Packit |
345191 |
/* sizeof(void *) == 2^LG_SIZEOF_PTR. */
|
|
Packit |
345191 |
#undef LG_SIZEOF_PTR
|