about summary refs log tree commit diff
path: root/nptl/sysdeps
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-05-11 10:10:37 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-05-11 10:10:37 -0700
commit1f59b0b121e1fe9df13560096c55d8ad6c6e8c46 (patch)
treec980fae2285fb86d18a46d5600f4c132b4727124 /nptl/sysdeps
parentc252ec15790cef36898948bed276ca0d810e2ed1 (diff)
downloadglibc-1f59b0b121e1fe9df13560096c55d8ad6c6e8c46.tar.gz
glibc-1f59b0b121e1fe9df13560096c55d8ad6c6e8c46.tar.xz
glibc-1f59b0b121e1fe9df13560096c55d8ad6c6e8c46.zip
Check __PTHREAD_MUTEX_HAVE_PREV for mutex initializers
Diffstat (limited to 'nptl/sysdeps')
-rw-r--r--nptl/sysdeps/pthread/pthread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/sysdeps/pthread/pthread.h b/nptl/sysdeps/pthread/pthread.h
index bd97e8556f..fcc0ce846b 100644
--- a/nptl/sysdeps/pthread/pthread.h
+++ b/nptl/sysdeps/pthread/pthread.h
@@ -83,7 +83,7 @@ enum
 
 
 /* Mutex initializers.  */
-#if __WORDSIZE == 64
+#ifdef __PTHREAD_MUTEX_HAVE_PREV
 # define PTHREAD_MUTEX_INITIALIZER \
   { { 0, 0, 0, 0, 0, 0, { 0, 0 } } }
 # ifdef __USE_GNU