mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 01:22:04 +00:00
commit
d264ec2b8c
@ -15,10 +15,26 @@
|
|||||||
#define USE_JEMALLOC 0
|
#define USE_JEMALLOC 0
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#endif
|
#endif
|
||||||
|
#else
|
||||||
|
#include <cstdlib>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define ALWAYS_INLINE inline __attribute__((__always_inline__))
|
// Also defined in Core/Defines.h
|
||||||
#define NO_INLINE __attribute__((__noinline__))
|
#if !defined(ALWAYS_INLINE)
|
||||||
|
#if defined(_MSC_VER)
|
||||||
|
#define ALWAYS_INLINE inline __forceinline
|
||||||
|
#else
|
||||||
|
#define ALWAYS_INLINE inline __attribute__((__always_inline__))
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined(NO_INLINE)
|
||||||
|
#if defined(_MSC_VER)
|
||||||
|
#define NO_INLINE static __declspec(noinline)
|
||||||
|
#else
|
||||||
|
#define NO_INLINE __attribute__((__noinline__))
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace Memory
|
namespace Memory
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user