mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
9 lines
266 B
C++
9 lines
266 B
C++
#pragma once
|
|
|
|
#define weak __attribute__((__weak__))
|
|
#define hidden __attribute__((__visibility__("hidden")))
|
|
#define weak_alias(old, new) \
|
|
extern __typeof(old) new __attribute__((__weak__, __alias__(#old)))
|
|
|
|
#define predict_false(x) __builtin_expect(x, 0)
|