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