6f8c175007
PR target/33700 * inclhack.def (hpux11_pthread_const): New. * fixincl.x: Regenerate. * tests/base/sys/pthread.h: Update. From-SVN: r129304
28 lines
705 B
C
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 */
|