Skip to content

Commit

Permalink
S390: Fix -Wundef warning for __PTHREAD_MUTEX_HAVE_ELISION.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Liebler authored and Andreas Krebbel committed Mar 24, 2014
1 parent a071766 commit f1399b5
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-24 Stefan Liebler <stli@linux.vnet.ibm.com>

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

2014-03-20 Andreas Schwab <schwab@suse.de>

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

Please sign in to comment.