diff options
Diffstat (limited to 'include/features.h')
-rw-r--r-- | include/features.h | 7 |
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> |