1 #include <bits/wordsize.h> 2 3 #if __WORDSIZE == 64 4 # define __PTHREAD_MUTEX_KIND_OFFSET 16 5 #else 6 # define __PTHREAD_MUTEX_KIND_OFFSET 12 7 #endif 8 9 #if __WORDSIZE == 64 10 # define __PTHREAD_RWLOCK_FLAGS_OFFSET 48 11 #else 12 # define __PTHREAD_RWLOCK_FLAGS_OFFSET 27 13 #endif 14