nptl: Fix typo on __have_pthread_attr_t (BZ#21715)

This patch fixes some build issues when including types/sigevent_t.h
along with bits/pthreadtypes.h.

Checked on x86_64-linux-gnu and on a build on supported major ABIs.

	[BZ #21715]
	* sysdeps/nptl/bits/pthreadtypes.h (__have_pthread_attr_t): Fix typo
	on definition.
This commit is contained in:
Matthew Krupcale 2017-07-06 10:22:20 -03:00 committed by Adhemerval Zanella
parent 031e519c95
commit 3adfef7eaa
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2017-07-06 Matthew Krupcale <mkrupcale@matthewkrupcale.com>
[BZ #21715]
* sysdeps/nptl/bits/pthreadtypes.h (__have_pthread_attr_t): Fix typo
on definition.
2017-07-06 Florian Weimer <fweimer@redhat.com>
H.J. Lu <hongjiu.lu@intel.com>

View File

@ -60,7 +60,7 @@ union pthread_attr_t
};
#ifndef __have_pthread_attr_t
typedef union pthread_attr_t pthread_attr_t;
# define __have_pthread_attr_t1
# define __have_pthread_attr_t 1
#endif