From b33b788f8978551f4232328d76c3ddc6e5a5c582 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 27 Oct 2004 07:26:21 +0000 Subject: Arrange to hide uClibc internals --- include/features.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include') 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 -- cgit v1.2.3