projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50b076f
)
Protect real time signal definitions to let glibc compile with older Linux versions...
author
Ulrich Drepper
<drepper@redhat.com>
Mon, 20 Sep 1999 01:22:07 +0000
(
01:22
+0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Mon, 20 Sep 1999 01:22:07 +0000
(
01:22
+0000)
sysdeps/unix/sysv/linux/i386/sigaction.c
patch
|
blob
|
history
diff --git
a/sysdeps/unix/sysv/linux/i386/sigaction.c
b/sysdeps/unix/sysv/linux/i386/sigaction.c
index
c126cda
..
8f2f308
100644
(file)
--- a/
sysdeps/unix/sysv/linux/i386/sigaction.c
+++ b/
sysdeps/unix/sysv/linux/i386/sigaction.c
@@
-45,7
+45,9
@@
extern int __syscall_rt_sigaction (int, const struct kernel_sigaction *,
int __libc_missing_rt_sigs;
#endif
+#ifdef __NR_rt_sigaction
static void restore_rt (void) asm ("__restore_rt");
+#endif
static void restore (void) asm ("__restore");
@@
-155,8
+157,10
@@
asm \
" int $0x80" \
);
+#ifdef __NR_rt_sigaction
/* The return code for realtime-signals. */
RESTORE (restore_rt, __NR_rt_sigreturn)
+#endif
/* For the boring old signals. */
# undef RESTORE2