diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2012-03-22 16:07:47 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2012-03-22 16:07:47 +0000 |
commit | 159bde98210acec60cfd91e01ef36661059c0f0a (patch) | |
tree | 88b50c2977f185e5312be0c077d8e3cb81bc27c1 /fixincludes | |
parent | 06ea73711d68c2d07372df7e38843104886f9c45 (diff) | |
download | gcc-159bde98210acec60cfd91e01ef36661059c0f0a.zip gcc-159bde98210acec60cfd91e01ef36661059c0f0a.tar.gz gcc-159bde98210acec60cfd91e01ef36661059c0f0a.tar.bz2 |
Fix pthread.h failure (PR other/52626)
PR other/52626
* tests/base/pthread.h [SOLARIS_MUTEX_INIT_2_CHECK]
(PTHREAD_COND_INITIALIZER): Adapt for solaris_cond_init removal.
From-SVN: r185699
Diffstat (limited to 'fixincludes')
-rw-r--r-- | fixincludes/ChangeLog | 6 | ||||
-rw-r--r-- | fixincludes/tests/base/pthread.h | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/fixincludes/ChangeLog b/fixincludes/ChangeLog index 63a94be..28c31d6 100644 --- a/fixincludes/ChangeLog +++ b/fixincludes/ChangeLog @@ -1,3 +1,9 @@ +2012-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + PR other/52626 + * tests/base/pthread.h [SOLARIS_MUTEX_INIT_2_CHECK] + (PTHREAD_COND_INITIALIZER): Adapt for solaris_cond_init removal. + 2012-03-15 Tristan Gingold <gingold@adacore.com> * README (EXAMPLES OF FIXES): Update. diff --git a/fixincludes/tests/base/pthread.h b/fixincludes/tests/base/pthread.h index dc71916..97200c4 100644 --- a/fixincludes/tests/base/pthread.h +++ b/fixincludes/tests/base/pthread.h @@ -83,9 +83,9 @@ extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask); #define PTHREAD_MUTEX_INITIALIZER {{{0},0}, {{{0}}}, {0}} #endif #if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG) -#define PTHREAD_COND_INITIALIZER {{{0}, 0, 0x4356}, 0} /* DEFAULTCV */ +#define PTHREAD_COND_INITIALIZER {{{0}, 0}, 0} /* DEFAULTCV */ #else -#define PTHREAD_COND_INITIALIZER {{{0}, 0, 0x4356}, {0}} /* DEFAULTCV */ +#define PTHREAD_COND_INITIALIZER {{{0}, 0}, {0}} /* DEFAULTCV */ #endif #if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG) #define PTHREAD_MUTEX_INITIALIZER /* = DEFAULTMUTEX */ \ |