diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2010-11-09 10:26:09 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2010-11-09 10:26:09 +0000 |
commit | d8ef0f496a05addb5f8dd32ce60859fc7ea00bf2 (patch) | |
tree | 14e9f4f1d8ec4a6d7e6b3a446ffad4829e0fadc7 /fixincludes/tests | |
parent | c0f8c3b4f10005d9c88e24cc4a8d1377fd11db28 (diff) | |
download | gcc-d8ef0f496a05addb5f8dd32ce60859fc7ea00bf2.zip gcc-d8ef0f496a05addb5f8dd32ce60859fc7ea00bf2.tar.gz gcc-d8ef0f496a05addb5f8dd32ce60859fc7ea00bf2.tar.bz2 |
inclhack.def (irix_pthread_init): New fix.
* inclhack.def (irix_pthread_init): New fix.
* fixincl.x: Regenerate.
* tests/base/pthread.h [IRIX_PTHREAD_INIT_CHECK]: New test.
From-SVN: r166478
Diffstat (limited to 'fixincludes/tests')
-rw-r--r-- | fixincludes/tests/base/pthread.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fixincludes/tests/base/pthread.h b/fixincludes/tests/base/pthread.h index f08aee4..834f051 100644 --- a/fixincludes/tests/base/pthread.h +++ b/fixincludes/tests/base/pthread.h @@ -96,6 +96,13 @@ #endif /* GLIBC_MUTEX_INIT_CHECK */ +#if defined( IRIX_PTHREAD_INIT_CHECK ) +#define PTHREAD_MUTEX_INITIALIZER { { 0 } } +#define PTHREAD_COND_INITIALIZER { { 0 } } +#define PTHREAD_RWLOCK_INITIALIZER { { 0 } } +#endif /* IRIX_PTHREAD_INIT_CHECK */ + + #if defined( PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_CHECK ) extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask); #endif /* PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_CHECK */ |