Skip to content

Commit

Permalink
PowerPC: Fix -Wundef warning for __PTHREAD_MUTEX_HAVE_ELISION.
Browse files Browse the repository at this point in the history
  • Loading branch information
Adhemerval Zanella committed Mar 25, 2014
1 parent 046651c commit 449282f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>

* nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
(__PTHREAD_MUTEX_HAVE_ELISION): New define.

2014-03-25 Joseph Myers <joseph@codesourcery.com>

[BZ #16357]
Expand Down
2 changes: 2 additions & 0 deletions nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 449282f

Please sign in to comment.