about summary refs log tree commit diff
path: root/nptl/sysdeps
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2014-03-25 08:21:24 -0500
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2014-03-25 08:21:24 -0500
commit449282f2e0e850c29f6a9666058503d4734964f0 (patch)
treeb9276a3ae2a99719e01507b509d356b50fe86910 /nptl/sysdeps
parent046651c1688ff0eaa385d555dc4f24fd51a64460 (diff)
downloadglibc-449282f2e0e850c29f6a9666058503d4734964f0.tar.gz
glibc-449282f2e0e850c29f6a9666058503d4734964f0.tar.xz
glibc-449282f2e0e850c29f6a9666058503d4734964f0.zip
PowerPC: Fix -Wundef warning for __PTHREAD_MUTEX_HAVE_ELISION.
Diffstat (limited to 'nptl/sysdeps')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h b/nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
index 71bd3aed12..ac7351f130 100644
--- a/nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
+++ b/nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
@@ -21,6 +21,8 @@
 
 #include <bits/wordsize.h>
 
+#define __PTHREAD_MUTEX_HAVE_ELISION   0
+
 #if __WORDSIZE == 64
 # define __SIZEOF_PTHREAD_ATTR_T 56
 # define __SIZEOF_PTHREAD_MUTEX_T 40