gcc/fixincludes/tests/base/sys/pthread.h
John David Anglin f5ffa61d75 re PR libstdc++/65500 (FAIL: 17_intro/headers/c++2014/all_attributes.cc (test for excess errors))
PR libstdc++/65500
	* inclhack.def (hpux11_lwp_rwlock_valid): New fix.
	* fixincl.x: Regenerate.
	* tests/base/sys/pthread.h [HPUX11_LWP_RWLOCK_VALID_CHECK]: New test.

From-SVN: r221757
2015-03-28 17:27:22 +00:00

33 lines
843 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_LWP_RWLOCK_VALID_CHECK )
#define __LWP_RWLOCK_VALID -29551
#endif /* HPUX11_LWP_RWLOCK_VALID_CHECK */
#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 */