]> git.proxmox.com Git - rustc.git/blob - src/jemalloc/include/jemalloc/jemalloc_defs.h.in
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / jemalloc / include / jemalloc / jemalloc_defs.h.in
1 /* Defined if __attribute__((...)) syntax is supported. */
2 #undef JEMALLOC_HAVE_ATTR
3
4 /* Defined if alloc_size attribute is supported. */
5 #undef JEMALLOC_HAVE_ATTR_ALLOC_SIZE
6
7 /* Defined if format(gnu_printf, ...) attribute is supported. */
8 #undef JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF
9
10 /* Defined if format(printf, ...) attribute is supported. */
11 #undef JEMALLOC_HAVE_ATTR_FORMAT_PRINTF
12
13 /*
14 * Define overrides for non-standard allocator-related functions if they are
15 * present on the system.
16 */
17 #undef JEMALLOC_OVERRIDE_MEMALIGN
18 #undef JEMALLOC_OVERRIDE_VALLOC
19
20 /*
21 * At least Linux omits the "const" in:
22 *
23 * size_t malloc_usable_size(const void *ptr);
24 *
25 * Match the operating system's prototype.
26 */
27 #undef JEMALLOC_USABLE_SIZE_CONST
28
29 /*
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
32 * glibc defines.
33 */
34 #undef JEMALLOC_USE_CXX_THROW
35
36 #ifdef _MSC_VER
37 # ifdef _WIN64
38 # define LG_SIZEOF_PTR_WIN 3
39 # else
40 # define LG_SIZEOF_PTR_WIN 2
41 # endif
42 #endif
43
44 /* sizeof(void *) == 2^LG_SIZEOF_PTR. */
45 #undef LG_SIZEOF_PTR