ClickHouse/libs/libglibc-compatibility/musl/musl_features.h

9 lines
266 B
C++
Raw Normal View History

2019-09-28 14:36:56 +00:00
#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)