summaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-08-07 21:08:07 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-08-07 21:08:07 +0200
commite1777dde9106cbd223b56d6ddcf8464093679c81 (patch)
tree8989506d30dde933548aefa46c6af8557b52007b /sysdeps/mach/hurd
parentb7a9421abd7002f5a29c40c90b15ade7c7b04510 (diff)
parente0b77a51a258fc7554aeb194ac6b219ee3078f0d (diff)
Merge commit 'refs/top-bases/tschwinge/Roger_Whittaker' into tschwinge/Roger_Whittaker
Diffstat (limited to 'sysdeps/mach/hurd')
-rw-r--r--sysdeps/mach/hurd/bits/sigaction.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/mach/hurd/bits/sigaction.h b/sysdeps/mach/hurd/bits/sigaction.h
index d7db36f611..444947c62b 100644
--- a/sysdeps/mach/hurd/bits/sigaction.h
+++ b/sysdeps/mach/hurd/bits/sigaction.h
@@ -33,7 +33,7 @@
struct sigaction
{
/* Signal handler. */
-#ifdef __USE_POSIX199309
+#if defined __USE_POSIX199309 || defined __USE_XOPEN_EXTENDED
union
{
/* Used if SA_SIGINFO is not set. */
@@ -56,10 +56,10 @@ struct sigaction
};
/* Bits in `sa_flags'. */
-#if defined __USE_UNIX98 || defined __USE_MISC
+#if defined __USE_XOPEN_EXTENDED || defined __USE_MISC
# define SA_ONSTACK 0x0001 /* Take signal on signal stack. */
#endif
-#if defined __USE_UNIX98 || defined __USE_MISC || defined __USE_XOPEN2K8
+#if defined __USE_XOPEN_EXTENDED || defined __USE_XOPEN2K8
# define SA_RESTART 0x0002 /* Restart syscall on signal return. */
# define SA_NODEFER 0x0010 /* Don't automatically block the signal when
its handler is being executed. */