View file File name : pthreadtypes-arch.ph Content :require '_h2ph_pre.ph'; no warnings qw(redefine misc); unless(defined(&_BITS_PTHREADTYPES_ARCH_H)) { eval 'sub _BITS_PTHREADTYPES_ARCH_H () {1;}' unless defined(&_BITS_PTHREADTYPES_ARCH_H); require 'bits/wordsize.ph'; if(defined(&__x86_64__)) { if((defined(&__WORDSIZE) ? &__WORDSIZE : undef) == 64) { eval 'sub __SIZEOF_PTHREAD_MUTEX_T () {40;}' unless defined(&__SIZEOF_PTHREAD_MUTEX_T); eval 'sub __SIZEOF_PTHREAD_ATTR_T () {56;}' unless defined(&__SIZEOF_PTHREAD_ATTR_T); eval 'sub __SIZEOF_PTHREAD_MUTEX_T () {40;}' unless defined(&__SIZEOF_PTHREAD_MUTEX_T); eval 'sub __SIZEOF_PTHREAD_RWLOCK_T () {56;}' unless defined(&__SIZEOF_PTHREAD_RWLOCK_T); eval 'sub __SIZEOF_PTHREAD_BARRIER_T () {32;}' unless defined(&__SIZEOF_PTHREAD_BARRIER_T); } else { eval 'sub __SIZEOF_PTHREAD_MUTEX_T () {32;}' unless defined(&__SIZEOF_PTHREAD_MUTEX_T); eval 'sub __SIZEOF_PTHREAD_ATTR_T () {32;}' unless defined(&__SIZEOF_PTHREAD_ATTR_T); eval 'sub __SIZEOF_PTHREAD_MUTEX_T () {32;}' unless defined(&__SIZEOF_PTHREAD_MUTEX_T); eval 'sub __SIZEOF_PTHREAD_RWLOCK_T () {44;}' unless defined(&__SIZEOF_PTHREAD_RWLOCK_T); eval 'sub __SIZEOF_PTHREAD_BARRIER_T () {20;}' unless defined(&__SIZEOF_PTHREAD_BARRIER_T); } } else { eval 'sub __SIZEOF_PTHREAD_MUTEX_T () {24;}' unless defined(&__SIZEOF_PTHREAD_MUTEX_T); eval 'sub __SIZEOF_PTHREAD_ATTR_T () {36;}' unless defined(&__SIZEOF_PTHREAD_ATTR_T); eval 'sub __SIZEOF_PTHREAD_MUTEX_T () {24;}' unless defined(&__SIZEOF_PTHREAD_MUTEX_T); eval 'sub __SIZEOF_PTHREAD_RWLOCK_T () {32;}' unless defined(&__SIZEOF_PTHREAD_RWLOCK_T); eval 'sub __SIZEOF_PTHREAD_BARRIER_T () {20;}' unless defined(&__SIZEOF_PTHREAD_BARRIER_T); } eval 'sub __SIZEOF_PTHREAD_MUTEXATTR_T () {4;}' unless defined(&__SIZEOF_PTHREAD_MUTEXATTR_T); eval 'sub __SIZEOF_PTHREAD_COND_T () {48;}' unless defined(&__SIZEOF_PTHREAD_COND_T); eval 'sub __SIZEOF_PTHREAD_CONDATTR_T () {4;}' unless defined(&__SIZEOF_PTHREAD_CONDATTR_T); eval 'sub __SIZEOF_PTHREAD_RWLOCKATTR_T () {8;}' unless defined(&__SIZEOF_PTHREAD_RWLOCKATTR_T); eval 'sub __SIZEOF_PTHREAD_BARRIERATTR_T () {4;}' unless defined(&__SIZEOF_PTHREAD_BARRIERATTR_T); eval 'sub __PTHREAD_COMPAT_PADDING_MID () {1;}' unless defined(&__PTHREAD_COMPAT_PADDING_MID); eval 'sub __PTHREAD_COMPAT_PADDING_END () {1;}' unless defined(&__PTHREAD_COMPAT_PADDING_END); eval 'sub __PTHREAD_MUTEX_LOCK_ELISION () {1;}' unless defined(&__PTHREAD_MUTEX_LOCK_ELISION); if(defined(&__x86_64__)) { eval 'sub __PTHREAD_MUTEX_NUSERS_AFTER_KIND () {0;}' unless defined(&__PTHREAD_MUTEX_NUSERS_AFTER_KIND); eval 'sub __PTHREAD_MUTEX_USE_UNION () {0;}' unless defined(&__PTHREAD_MUTEX_USE_UNION); } else { eval 'sub __PTHREAD_MUTEX_NUSERS_AFTER_KIND () {1;}' unless defined(&__PTHREAD_MUTEX_NUSERS_AFTER_KIND); eval 'sub __PTHREAD_MUTEX_USE_UNION () {1;}' unless defined(&__PTHREAD_MUTEX_USE_UNION); } eval 'sub __LOCK_ALIGNMENT () {1;}' unless defined(&__LOCK_ALIGNMENT); eval 'sub __ONCE_ALIGNMENT () {1;}' unless defined(&__ONCE_ALIGNMENT); if(defined(&__x86_64__)) { if(defined(&__ILP32__)) { eval 'sub __PTHREAD_RWLOCK_ELISION_EXTRA () {0, { 0, 0, 0};}' unless defined(&__PTHREAD_RWLOCK_ELISION_EXTRA); } else { eval 'sub __PTHREAD_RWLOCK_ELISION_EXTRA () {0, { 0, 0, 0, 0, 0, 0, 0};}' unless defined(&__PTHREAD_RWLOCK_ELISION_EXTRA); } eval 'sub __PTHREAD_RWLOCK_INT_FLAGS_SHARED () {1;}' unless defined(&__PTHREAD_RWLOCK_INT_FLAGS_SHARED); } else { eval 'sub __PTHREAD_RWLOCK_ELISION_EXTRA () {0;}' unless defined(&__PTHREAD_RWLOCK_ELISION_EXTRA); } unless(defined(&__x86_64__)) { eval 'sub __cleanup_fct_attribute () { &__attribute__ (( &__regparm__ (1)));}' unless defined(&__cleanup_fct_attribute); } } 1;