Rizin
unix-like reverse engineering framework and cli tools
jemalloc_defs.h
Go to the documentation of this file.
1 /* include/jemalloc/jemalloc_defs.h. Generated from jemalloc_defs.h.in by configure. */
2 /* Defined if __attribute__((...)) syntax is supported. */
3 #define JEMALLOC_HAVE_ATTR
4 
5 /* Defined if alloc_size attribute is supported. */
6 #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE
7 
8 /* Defined if format(gnu_printf, ...) attribute is supported. */
9 #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF
10 
11 /* Defined if format(printf, ...) attribute is supported. */
12 #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF
13 
14 /*
15  * Define overrides for non-standard allocator-related functions if they are
16  * present on the system.
17  */
18 #define JEMALLOC_OVERRIDE_MEMALIGN
19 #define JEMALLOC_OVERRIDE_VALLOC
20 
21 /*
22  * At least Linux omits the "const" in:
23  *
24  * size_t malloc_usable_size(const void *ptr);
25  *
26  * Match the operating system's prototype.
27  */
28 #define JEMALLOC_USABLE_SIZE_CONST
29 
30 /*
31  * If defined, specify throw() for the public function prototypes when compiling
32  * with C++. The only justification for this is to match the prototypes that
33  * glibc defines.
34  */
35 #define JEMALLOC_USE_CXX_THROW
36 
37 #ifdef _MSC_VER
38 # ifdef _WIN64
39 # define LG_SIZEOF_PTR_WIN 3
40 # else
41 # define LG_SIZEOF_PTR_WIN 2
42 # endif
43 #endif
44 
45 /* sizeof(void *) == 2^LG_SIZEOF_PTR. */
46 #define LG_SIZEOF_PTR 3