gcc/fixincludes/tests/base/sys/pthread.h
John David Anglin 6f8c175007 re PR target/33700 (FAIL: 17_intro/headers/all_pedantic_errors.cc (test for excess errors))
PR target/33700
	* inclhack.def (hpux11_pthread_const): New.
	* fixincl.x: Regenerate.
	* tests/base/sys/pthread.h: Update.

From-SVN: r129304
2007-10-14 22:22:25 +00:00

28 lines
705 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( HPUX11_PTHREAD_CONST_CHECK )
#define __POINTER_SET ((void *) 1L)
#endif /* HPUX11_PTHREAD_CONST_CHECK */
#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 */