summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libc-symbols.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index 2800fe25c..db91a38a1 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -469,9 +469,11 @@ FIXME! - ?
&& (( __GNUC__ >= 3 && __GNUC_MINOR__ >= 3) || __GNUC__ >= 4) \
) || defined __ICC
# define attribute_hidden __attribute__ ((visibility ("hidden")))
+# define attribute_protected __attribute__ ((visibility ("protected")))
# define __hidden_proto_hiddenattr(attrs...) __attribute__ ((visibility ("hidden"), ##attrs))
#else
# define attribute_hidden
+# define attribute_protected
# define __hidden_proto_hiddenattr(attrs...)
#endif