aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/i386
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2002-11-13 09:30:43 +0000
committerAndreas Jaeger <aj@suse.de>2002-11-13 09:30:43 +0000
commit1ad5bec8cda8d15cee965a0493751e5ca6cc2707 (patch)
treedf47fa672e1e678b5be820c9befa30da74fe78b0 /sysdeps/unix/sysv/linux/i386
parentbe1960c6fdc55a0c25da7295684f0c3f91b6e038 (diff)
downloadglibc-1ad5bec8cda8d15cee965a0493751e5ca6cc2707.tar
glibc-1ad5bec8cda8d15cee965a0493751e5ca6cc2707.tar.gz
glibc-1ad5bec8cda8d15cee965a0493751e5ca6cc2707.tar.bz2
glibc-1ad5bec8cda8d15cee965a0493751e5ca6cc2707.zip
Check for visibility attribute.
Diffstat (limited to 'sysdeps/unix/sysv/linux/i386')
-rw-r--r--sysdeps/unix/sysv/linux/i386/sigaction.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/sigaction.c b/sysdeps/unix/sysv/linux/i386/sigaction.c
index 85a9856ed4..813c9bab77 100644
--- a/sysdeps/unix/sysv/linux/i386/sigaction.c
+++ b/sysdeps/unix/sysv/linux/i386/sigaction.c
@@ -48,7 +48,8 @@ int __libc_missing_rt_sigs;
/* Using the hidden attribute here does not change the code but it
helps to avoid warnings. */
-#if defined HAVE_HIDDEN && !defined HAVE_BROKEN_VISIBILITY_ATTRIBUTE
+#if defined HAVE_HIDDEN && defined HAVE_VISIBILITY_ATTRIBUTE \
+ && !defined HAVE_BROKEN_VISIBILITY_ATTRIBUTE
# ifdef __NR_rt_sigaction
extern void restore_rt (void) asm ("__restore_rt") attribute_hidden;
# endif