about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-08-14 22:11:50 -0400
committerMike Frysinger <vapier@gentoo.org>2015-08-18 02:37:04 -0400
commitd5a77fcafdcd3494663387e7100e2fb2d180af5b (patch)
tree920826ce879b23cb382d743705139d94402f3ed7 /sysdeps
parentc5bf7f84bf041e9c7c690d09baad4daf3e992805 (diff)
downloadglibc-d5a77fcafdcd3494663387e7100e2fb2d180af5b.tar.gz
glibc-d5a77fcafdcd3494663387e7100e2fb2d180af5b.tar.xz
glibc-d5a77fcafdcd3494663387e7100e2fb2d180af5b.zip
hppa: sigaction.h: update define export based on __USE_XOPEN2K8
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.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/hppa/bits/sigaction.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/hppa/bits/sigaction.h b/sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
index ebe375fb1e..2a12060ac8 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.  */