refactor thrd_sleep and nanosleep in terms of clock_nanosleep
[oweals/musl.git] / src / include / features.h
1 #ifndef FEATURES_H
2 #define FEATURES_H
3
4 #include "../../include/features.h"
5
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)))
10
11 #endif