aboutsummaryrefslogtreecommitdiff
path: root/bits/sigaction.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2012-05-10 15:27:04 -0700
committerRoland McGrath <roland@hack.frob.com>2012-05-10 15:57:26 -0700
commitee16e894aaf51674058224fe0ece852bd0b3632d (patch)
tree7e984b43afdd184218195872882bf28490c9d730 /bits/sigaction.h
parent6103ae3b0eb1569cfdceb0e7c9625643b63dfd2a (diff)
downloadglibc-ee16e894aaf51674058224fe0ece852bd0b3632d.tar
glibc-ee16e894aaf51674058224fe0ece852bd0b3632d.tar.gz
glibc-ee16e894aaf51674058224fe0ece852bd0b3632d.tar.bz2
glibc-ee16e894aaf51674058224fe0ece852bd0b3632d.zip
Hurd: Fix POSIX 2008 visibility
Diffstat (limited to 'bits/sigaction.h')
-rw-r--r--bits/sigaction.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/bits/sigaction.h b/bits/sigaction.h
index a5e1d186ac..a737660ce4 100644
--- a/bits/sigaction.h
+++ b/bits/sigaction.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991,92,96,97,98,2001 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -54,6 +54,8 @@ struct sigaction
/* Bits in `sa_flags'. */
#if defined __USE_UNIX98 || defined __USE_MISC
# define SA_ONSTACK 0x0001 /* Take signal on signal stack. */
+#endif
+#if defined __USE_UNIX98 || defined __USE_MISC || 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. */