summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-10-27 07:26:21 +0000
committerEric Andersen <andersen@codepoet.org>2004-10-27 07:26:21 +0000
commitb33b788f8978551f4232328d76c3ddc6e5a5c582 (patch)
tree26e0c1a901feffc5f94dcb9df84de2e7edc918f6 /include
parent25ea4a74c3f052002d2dcd6705a81da91c2d43d7 (diff)
Arrange to hide uClibc internals
Diffstat (limited to 'include')
-rw-r--r--include/features.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/features.h b/include/features.h
index 9f58132ba..d74c7d1c6 100644
--- a/include/features.h
+++ b/include/features.h
@@ -418,6 +418,13 @@ uClibc was built without large file support enabled.
#define __LINUX_COMPILER_H
#endif
+/* Arrange to hide uClibc internals */
+#if __GNUC_PREREQ (3, 3)
+# define attribute_hidden __attribute__ ((visibility ("hidden")))
+#else
+# define attribute_hidden
+#endif
+
/* Pull in things like __attribute_used__ */
#include <sys/cdefs.h>