summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/i386/sigaction.c2
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