]>
git.proxmox.com Git - rustc.git/blob - src/jemalloc/include/jemalloc/jemalloc_defs.h.in
1 /* Defined if __attribute__((...)) syntax is supported. */
2 #undef JEMALLOC_HAVE_ATTR
4 /* Defined if alloc_size attribute is supported. */
5 #undef JEMALLOC_HAVE_ATTR_ALLOC_SIZE
7 /* Defined if format(gnu_printf, ...) attribute is supported. */
8 #undef JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF
10 /* Defined if format(printf, ...) attribute is supported. */
11 #undef JEMALLOC_HAVE_ATTR_FORMAT_PRINTF
14 * Define overrides for non-standard allocator-related functions if they are
15 * present on the system.
17 #undef JEMALLOC_OVERRIDE_MEMALIGN
18 #undef JEMALLOC_OVERRIDE_VALLOC
21 * At least Linux omits the "const" in:
23 * size_t malloc_usable_size(const void *ptr);
25 * Match the operating system's prototype.
27 #undef JEMALLOC_USABLE_SIZE_CONST
30 * If defined, specify throw() for the public function prototypes when compiling
31 * with C++. The only justification for this is to match the prototypes that
34 #undef JEMALLOC_USE_CXX_THROW
38 # define LG_SIZEOF_PTR_WIN 3
40 # define LG_SIZEOF_PTR_WIN 2
44 /* sizeof(void *) == 2^LG_SIZEOF_PTR. */