about summary refs log tree commit diff
path: root/setjmp/Makefile
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-06-02 19:47:03 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-06-02 19:47:03 +0000
commit9c65eec494676789bc4695561e229ce3ee33be84 (patch)
tree3c72e99aaafa0a568521743bbe755d9839780b18 /setjmp/Makefile
parent6257fcfd58479f6b7ae0fdde045b9ff144d543da (diff)
downloadglibc-9c65eec494676789bc4695561e229ce3ee33be84.tar.gz
glibc-9c65eec494676789bc4695561e229ce3ee33be84.tar.xz
glibc-9c65eec494676789bc4695561e229ce3ee33be84.zip
Fix sigevent namespace (bug 21543).
signal.h defines the sigevent structure and constants if defined
__USE_POSIX199309 || defined __USE_XOPEN_EXTENDED.  The
__USE_XOPEN_EXTENDED condition is incorrect; this structure does not
appear in XSI standards before Unix98 (which implies
__USE_POSIX199309).  This patch fixes the conditionals accordingly
(the existing conditional is correct for siginfo_t, just not for
sigevent).

Tested for x86_64.  This does not allow any conform/ XFAILs to be
removed because of other signal.h namespace bugs.

	[BZ #21543]
	* signal/signal.h: Only include <bits/types/sigevent_t.h> and
	<bits/sigevent-consts.h> if [__USE_POSIX199309], not if
	[__USE_XOPEN_EXTENDED].
Diffstat (limited to 'setjmp/Makefile')
0 files changed, 0 insertions, 0 deletions