diff options
Diffstat (limited to 'sysdeps/x86_64/nptl/pthread-offsets.h')
-rw-r--r-- | sysdeps/x86_64/nptl/pthread-offsets.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/x86_64/nptl/pthread-offsets.h b/sysdeps/x86_64/nptl/pthread-offsets.h index 8208f6f177..a311da40c6 100644 --- a/sysdeps/x86_64/nptl/pthread-offsets.h +++ b/sysdeps/x86_64/nptl/pthread-offsets.h @@ -1 +1,7 @@ #define __PTHREAD_MUTEX_KIND_OFFSET 16 + +#ifdef __ILP32__ +# define __PTHREAD_RWLOCK_FLAGS_OFFSET 40 +#else +# define __PTHREAD_RWLOCK_FLAGS_OFFSET 48 +#endif |