diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-25 21:00:40 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-25 21:00:40 +0000 |
commit | c2b267b1f80cdc3a62ba20ce5b64698157045227 (patch) | |
tree | 4d6b4ad23aff42b73115d596558463328479086f /libc/sysdeps/linux/i386 | |
parent | 64652c2a6a8b58af948af33c1a0615c749434806 (diff) | |
download | uClibc-alpine-c2b267b1f80cdc3a62ba20ce5b64698157045227.tar.bz2 uClibc-alpine-c2b267b1f80cdc3a62ba20ce5b64698157045227.tar.xz |
Guard the use of sigreturn as in x86_64, thx blindvt
Diffstat (limited to 'libc/sysdeps/linux/i386')
-rw-r--r-- | libc/sysdeps/linux/i386/sigaction.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/i386/sigaction.c b/libc/sysdeps/linux/i386/sigaction.c index c38a30741..8d7ba2127 100644 --- a/libc/sysdeps/linux/i386/sigaction.c +++ b/libc/sysdeps/linux/i386/sigaction.c @@ -155,6 +155,7 @@ __asm__ \ RESTORE (restore_rt, __NR_rt_sigreturn) #endif +#ifdef __NR_sigreturn /* For the boring old signals. */ # undef RESTORE2 # define RESTORE2(name, syscall) \ @@ -169,3 +170,4 @@ __asm__ \ ); RESTORE (restore, __NR_sigreturn) +#endif |