mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-16 12:44:42 +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)
|