16 lines
344 B
C
16 lines
344 B
C
|
#if _MIPS_SIM == _ABI64
|
||
|
# define __PTHREAD_MUTEX_KIND_OFFSET 16
|
||
|
#else
|
||
|
# define __PTHREAD_MUTEX_KIND_OFFSET 12
|
||
|
#endif
|
||
|
|
||
|
#if _MIPS_SIM == _ABI64
|
||
|
# 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
|