From 13453e9b8e169bf4048572a4ae1c8b3cb51ab215 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 7 Aug 2018 21:07:30 +0200 Subject: Fix standardization of exposition of sigaction --- sysdeps/mach/hurd/bits/sigaction.h | 6 +++--- 1 file 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. */ -- cgit v1.2.3