guard against compilers failing to handle setjmp specially by default
[musl.git] / src / include / features.h
blobf17bd1516ca00879f84516005cbf334bf4b043ef
1 #ifndef FEATURES_H
2 #define FEATURES_H
4 #include "../../include/features.h"
6 #define weak __attribute__((__weak__))
7 #define hidden __attribute__((__visibility__("hidden")))
8 #define weak_alias(old, new) \
9 extern __typeof(old) new __attribute__((__weak__, __alias__(#old)))
11 #endif