From: Ulrich Drepper Date: Tue, 19 Oct 1999 03:07:09 +0000 (+0000) Subject: Correct namespace selection. X-Git-Tag: glibc-2.16-ports-merge^2~2819 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0f2d32942cddfb8f1fce834506645114b1423eac;p=platform%2Fupstream%2Fglibc.git Correct namespace selection. --- diff --git a/sysdeps/unix/sysv/linux/alpha/bits/sigaction.h b/sysdeps/unix/sysv/linux/alpha/bits/sigaction.h index 7a586be..be04235 100644 --- a/sysdeps/unix/sysv/linux/alpha/bits/sigaction.h +++ b/sysdeps/unix/sysv/linux/alpha/bits/sigaction.h @@ -49,19 +49,21 @@ struct sigaction /* Bits in `sa_flags'. */ #define SA_NOCLDSTOP 0x00000004 /* Don't send SIGCHLD when children stop. */ -#define SA_SIGINFO 0x00000040 /* Invoke signal-catching function with three - arguments instead of one. */ -#ifdef __USE_MISC +#define SA_SIGINFO 0x00000040 /* Invoke signal-catching function with + three arguments instead of one. */ +#if defined __USE_UNIX98 || defined __USE_MISC # define SA_ONSTACK 0x00000001 /* Use signal stack by using `sa_restorer'. */ # define SA_RESTART 0x00000002 /* Restart syscall on signal return. */ -# define SA_INTERRUPT 0x20000000 /* Historical no-op. */ -# define SA_NOMASK 0x00000008 /* Don't automatically block the signal +# define SA_NODEFER 0x00000008 /* Don't automatically block the signal when its handler is being executed. */ -# define SA_ONESHOT 0x00000010 /* Reset to SIG_DFL on entry to handler. */ +# define SA_RESETHAND 0x00000010 /* Reset to SIG_DFL on entry to handler. */ +#endif +#ifdef __USE_MISC +# define SA_INTERRUPT 0x20000000 /* Historical no-op. */ /* Some aliases for the SA_ constants. */ -# define SA_NODEFER SA_NOMASK -# define SA_RESETHAND SA_ONESHOT +# define SA_NOMASK SA_NODEFER +# define SA_ONESHOT SA_RESETHAND # define SA_STACK SA_ONSTACK #endif