diff options
Diffstat (limited to 'include/libc-shim/features.h')
| -rw-r--r-- | include/libc-shim/features.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/libc-shim/features.h b/include/libc-shim/features.h deleted file mode 100644 index a3466c8..0000000 --- a/include/libc-shim/features.h +++ /dev/null @@ -1,12 +0,0 @@ -/* Shim: musl expects this header */ -#ifndef _FEATURES_H -#define _FEATURES_H - -/* weak_alias: musl uses this for symbol aliasing (e.g. __memrchr -> memrchr) */ -#define weak_alias(old, new) \ - extern __typeof(old) new __attribute__((__weak__, __alias__(#old))) - -/* hidden attribute used by some musl sources */ -#define hidden __attribute__((__visibility__("hidden"))) - -#endif |
