gcc/fixincludes/tests/base/sys/pthread.h
John David Anglin 6c65aa402b re PR target/29300 (FAIL: gcc.dg/pthread-init-[12].c (test for excess errors))
PR target/29300
	* inclhack.def (hpux_pthread_initializers): New hack.
	* tests/base/sys/pthread.h: New file.

	* fixincl.x: Regenerate.

From-SVN: r117537
2006-10-07 16:35:11 +00:00

23 lines
583 B
C

/* DO NOT EDIT THIS FILE.
It has been auto-edited by fixincludes from:
"fixinc/tests/inc/sys/pthread.h"
This had to be done to correct non-standard usages in the
original, manufacturer supplied header file. */
#if defined( HPUX_PTHREAD_INITIALIZERS_CHECK )
#define PTHREAD_MUTEX_INITIALIZER { \
{ __PTHREAD_MUTEX_VALID, 0 }, \
(PTHREAD_MUTEX_DEFAULT | PTHREAD_PROCESS_PRIVATE), \
__SPNLCK_INITIALIZER, \
{ 0, 0, -1, 0 }, \
{ 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 }, \
{ 0, 0 } \
}
#endif /* HPUX_PTHREAD_INITIALIZERS_CHECK */