ClickHouse/base/glibc-compatibility/musl/musl_features.h
2020-02-14 17:48:30 +03:00

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)