This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH 04/10] hppa: sigaction.h: update define export based on __USE_XOPEN2K8
- From: Mike Frysinger <vapier at gentoo dot org>
- To: libc-alpha at sourceware dot org
- Date: Fri, 14 Aug 2015 22:27:47 -0400
- Subject: [PATCH 04/10] hppa: sigaction.h: update define export based on __USE_XOPEN2K8
- Authentication-results: sourceware.org; auth=none
- References: <1439605673-23948-1-git-send-email-vapier at gentoo dot org>
This brings hppa in line with other ports by exporting a few more defines
based on the __USE_XOPEN2K8 define and not just __USE_MISC.
2015-08-15 Mike Frysinger <vapier@gentoo.org>
* sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
---
sysdeps/unix/sysv/linux/hppa/bits/sigaction.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sysdeps/unix/sysv/linux/hppa/bits/sigaction.h b/sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
index ebe375f..2a12060 100644
--- a/sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
+++ b/sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
@@ -59,6 +59,8 @@ struct sigaction
three arguments instead of one. */
#if defined __USE_UNIX98 || defined __USE_MISC
# define SA_ONSTACK 0x00000001 /* Use signal stack by using `sa_restorer'. */
+#endif
+#if defined __USE_UNIX98 || defined __USE_XOPEN2K8
# define SA_RESETHAND 0x00000004 /* Reset to SIG_DFL on entry to handler. */
# define SA_NODEFER 0x00000020 /* Don't automatically block the signal
when its handler is being executed. */
--
2.4.4