musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/include/features.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/features.h')
-rw-r--r--src/include/features.h 11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/include/features.h b/src/include/features.h
new file mode 100644
index 00000000..f17bd151
--- /dev/null
+++ b/src/include/features.h
@@ -0,0 +1,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
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月18日 11:39:58 +0000

AltStyle によって変換されたページ (->オリジナル) /