blob: d76c6cfb95322d380580f6e05a069b52468ccba0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#if __WORDSIZE == 64
# define __PTHREAD_MUTEX_KIND_OFFSET 16
#else
# define __PTHREAD_MUTEX_KIND_OFFSET 12
#endif
#if __WORDSIZE == 64
# define __PTHREAD_RWLOCK_FLAGS_OFFSET 48
#else
# if __BYTE_ORDER == __BIG_ENDIAN
# define __PTHREAD_RWLOCK_FLAGS_OFFSET 27
# else
# define __PTHREAD_RWLOCK_FLAGS_OFFSET 24
# endif
#endif
|