2010-01-04 03:59:20 +08:00
|
|
|
/* Defined if __attribute__((...)) syntax is supported. */
|
|
|
|
#undef JEMALLOC_HAVE_ATTR
|
2009-07-01 07:17:05 +08:00
|
|
|
|
2015-07-11 07:41:12 +08:00
|
|
|
/* Defined if alloc_size attribute is supported. */
|
|
|
|
#undef JEMALLOC_HAVE_ATTR_ALLOC_SIZE
|
|
|
|
|
2019-03-16 08:19:16 +08:00
|
|
|
/* Defined if format_arg(...) attribute is supported. */
|
|
|
|
#undef JEMALLOC_HAVE_ATTR_FORMAT_ARG
|
|
|
|
|
2015-07-23 06:44:47 +08:00
|
|
|
/* Defined if format(gnu_printf, ...) attribute is supported. */
|
|
|
|
#undef JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF
|
|
|
|
|
|
|
|
/* Defined if format(printf, ...) attribute is supported. */
|
|
|
|
#undef JEMALLOC_HAVE_ATTR_FORMAT_PRINTF
|
|
|
|
|
2019-10-30 04:03:41 +08:00
|
|
|
/* Defined if fallthrough attribute is supported. */
|
|
|
|
#undef JEMALLOC_HAVE_ATTR_FALLTHROUGH
|
|
|
|
|
2020-12-18 04:04:07 +08:00
|
|
|
/* Defined if cold attribute is supported. */
|
|
|
|
#undef JEMALLOC_HAVE_ATTR_COLD
|
|
|
|
|
2023-08-04 06:05:10 +08:00
|
|
|
/* Defined if deprecated attribute is supported. */
|
|
|
|
#undef JEMALLOC_HAVE_ATTR_DEPRECATED
|
|
|
|
|
2013-12-06 13:43:46 +08:00
|
|
|
/*
|
2013-12-08 03:53:26 +08:00
|
|
|
* Define overrides for non-standard allocator-related functions if they are
|
|
|
|
* present on the system.
|
2013-12-06 13:43:46 +08:00
|
|
|
*/
|
|
|
|
#undef JEMALLOC_OVERRIDE_MEMALIGN
|
|
|
|
#undef JEMALLOC_OVERRIDE_VALLOC
|
2022-04-20 10:51:27 +08:00
|
|
|
#undef JEMALLOC_OVERRIDE_PVALLOC
|
2013-12-06 13:43:46 +08:00
|
|
|
|
2012-10-10 07:20:10 +08:00
|
|
|
/*
|
|
|
|
* At least Linux omits the "const" in:
|
|
|
|
*
|
|
|
|
* size_t malloc_usable_size(const void *ptr);
|
|
|
|
*
|
|
|
|
* Match the operating system's prototype.
|
|
|
|
*/
|
|
|
|
#undef JEMALLOC_USABLE_SIZE_CONST
|
2013-12-06 13:43:46 +08:00
|
|
|
|
2015-07-11 05:33:00 +08:00
|
|
|
/*
|
|
|
|
* If defined, specify throw() for the public function prototypes when compiling
|
|
|
|
* with C++. The only justification for this is to match the prototypes that
|
|
|
|
* glibc defines.
|
|
|
|
*/
|
|
|
|
#undef JEMALLOC_USE_CXX_THROW
|
|
|
|
|
2016-01-30 20:37:26 +08:00
|
|
|
#ifdef _MSC_VER
|
|
|
|
# ifdef _WIN64
|
|
|
|
# define LG_SIZEOF_PTR_WIN 3
|
|
|
|
# else
|
|
|
|
# define LG_SIZEOF_PTR_WIN 2
|
|
|
|
# endif
|
|
|
|
#endif
|
|
|
|
|
2013-12-06 13:43:46 +08:00
|
|
|
/* sizeof(void *) == 2^LG_SIZEOF_PTR. */
|
|
|
|
#undef LG_SIZEOF_PTR
|