summaryrefslogtreecommitdiff
path: root/sysdeps/x86/nptl/bits/pthreadtypes-arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/x86/nptl/bits/pthreadtypes-arch.h')
-rw-r--r--sysdeps/x86/nptl/bits/pthreadtypes-arch.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/x86/nptl/bits/pthreadtypes-arch.h b/sysdeps/x86/nptl/bits/pthreadtypes-arch.h
index fd86806800..2446d8d88a 100644
--- a/sysdeps/x86/nptl/bits/pthreadtypes-arch.h
+++ b/sysdeps/x86/nptl/bits/pthreadtypes-arch.h
@@ -21,6 +21,7 @@
#include <bits/wordsize.h>
#ifdef __x86_64__
+# define __PTHREAD_MUTEX_HAVE_PREV 1
# if __WORDSIZE == 64
# define __SIZEOF_PTHREAD_MUTEX_T 40
# define __SIZEOF_PTHREAD_ATTR_T 56
@@ -35,6 +36,7 @@
# define __SIZEOF_PTHREAD_BARRIER_T 20
# endif
#else
+# define __PTHREAD_MUTEX_HAVE_PREV 0
# define __SIZEOF_PTHREAD_MUTEX_T 24
# define __SIZEOF_PTHREAD_ATTR_T 36
# define __SIZEOF_PTHREAD_MUTEX_T 24