1 2 3 4 5 6 7
#include <bits/wordsize.h> #if __WORDSIZE == 64 # define __PTHREAD_MUTEX_KIND_OFFSET 16 #else # define __PTHREAD_MUTEX_KIND_OFFSET 12 #endif