mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 03:42:48 +00:00
9cd5228df2
* Added jemalloc as submodule [#CLICKHOUSE-2] * Imported jemalloc-cmake [#CLICKHOUSE-2] * Added README for jemalloc-cmake [#CLICKHOUSE-2] * Trying to add jemalloc [#CLICKHOUSE-2] * Trying to add jemalloc [#CLICKHOUSE-2] * Trying to add jemalloc [#CLICKHOUSE-2] * Add support for jemalloc: development [#CLICKHOUSE-2] * Add support for jemalloc: development [#CLICKHOUSE-2] * Add support for jemalloc: development [#CLICKHOUSE-2] * Add support for jemalloc: development [#CLICKHOUSE-2] * Add support for jemalloc: development [#CLICKHOUSE-2] * Add support for jemalloc: development [#CLICKHOUSE-2] * Add support for jemalloc: development [#CLICKHOUSE-2] * Add support for jemalloc: development [#CLICKHOUSE-2] * Add support for jemalloc: development [#CLICKHOUSE-2] * Add support for jemalloc: development [#CLICKHOUSE-2] * Add support for jemalloc: development [#CLICKHOUSE-2] * Add support for jemalloc: development [#CLICKHOUSE-2] * Add support for jemalloc: development [#CLICKHOUSE-2] * Add support for jemalloc: development [#CLICKHOUSE-2]
44 lines
1.1 KiB
C++
44 lines
1.1 KiB
C++
/* include/jemalloc/jemalloc_defs.h. Generated from jemalloc_defs.h.in by configure. */
|
|
/* Defined if __attribute__((...)) syntax is supported. */
|
|
#define JEMALLOC_HAVE_ATTR
|
|
|
|
/* Defined if alloc_size attribute is supported. */
|
|
#define JEMALLOC_HAVE_ATTR_ALLOC_SIZE
|
|
|
|
/* Defined if format(printf, ...) attribute is supported. */
|
|
#define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF
|
|
|
|
/*
|
|
* Define overrides for non-standard allocator-related functions if they are
|
|
* present on the system.
|
|
*/
|
|
#define JEMALLOC_OVERRIDE_MEMALIGN
|
|
#define JEMALLOC_OVERRIDE_VALLOC
|
|
|
|
/*
|
|
* At least Linux omits the "const" in:
|
|
*
|
|
* size_t malloc_usable_size(const void *ptr);
|
|
*
|
|
* Match the operating system's prototype.
|
|
*/
|
|
#define JEMALLOC_USABLE_SIZE_CONST
|
|
|
|
/*
|
|
* 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.
|
|
*/
|
|
#define JEMALLOC_USE_CXX_THROW
|
|
|
|
#ifdef _MSC_VER
|
|
# ifdef _WIN64
|
|
# define LG_SIZEOF_PTR_WIN 3
|
|
# else
|
|
# define LG_SIZEOF_PTR_WIN 2
|
|
# endif
|
|
#endif
|
|
|
|
/* sizeof(void *) == 2^LG_SIZEOF_PTR. */
|
|
#define LG_SIZEOF_PTR 3
|