summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/src/include/features.h
blob: f17bd1516ca00879f84516005cbf334bf4b043ef (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef FEATURES_H
#define FEATURES_H

#include "../../include/features.h"

#define weak __attribute__((__weak__))
#define hidden __attribute__((__visibility__("hidden")))
#define weak_alias(old, new) \
	extern __typeof(old) new __attribute__((__weak__, __alias__(#old)))

#endif