1 #include <bits/wordsize.h> 2 3 /* These values are based on internal generic types from 4 bits/struct_mutex.h and bits/struct_rwlock.h. */ 5 6 #if __WORDSIZE == 64 7 # define __PTHREAD_MUTEX_KIND_OFFSET 16 8 #else 9 # define __PTHREAD_MUTEX_KIND_OFFSET 12 10 #endif 11 12 #if __BYTE_ORDER == __BIG_ENDIAN 13 # define __PTHREAD_RWLOCK_FLAGS_OFFSET 27 14 #else 15 # define __PTHREAD_RWLOCK_FLAGS_OFFSET 24 16 #endif 17