• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef FEATURES_H
2 #define FEATURES_H
3 
4 #include "../../include/features.h"
5 
6 #define weak __attribute__((weak))
7 #define hidden
8 #ifndef weak_alias
9 #define weak_alias(old, new) \
10     extern __typeof(old) new __attribute__((weak, alias(#old)))
11 #endif
12 #ifndef strong_alias
13 #define strong_alias(old, new) \
14     extern __typeof(old) new __attribute__((alias(#old)))
15 #endif
16 #endif
17