diff options
author | Bruce Korb <bkorb@gnu.org> | 2013-12-08 21:55:46 +0000 |
---|---|---|
committer | Bruce Korb <korbb@gcc.gnu.org> | 2013-12-08 21:55:46 +0000 |
commit | e1775b33f51ecff1824554750d249bedf380dd27 (patch) | |
tree | eae0ea3a2fb681b6c1e79c3d180d330e71d68eb8 /fixincludes/tests/base/pthread.h | |
parent | f58fc6a5d2716c6711ea401d0d6d89ec7bdcea20 (diff) | |
download | gcc-e1775b33f51ecff1824554750d249bedf380dd27.zip gcc-e1775b33f51ecff1824554750d249bedf380dd27.tar.gz gcc-e1775b33f51ecff1824554750d249bedf380dd27.tar.bz2 |
fenv.h on Ubuntu
plus fix the ordering of the patches:
* inclhack.def: many of the headers found under "bits/" are
often stashed under architecture directories. Apply fixes
to those, too. Also, re-ordered misordered fixes.
* tests/base/linux/vt.h: 80 columns in .def file limitation
* tests/base/iso/math_c99.h: adjust ordering
* tests/base/rtldef/string.h: likewise
* tests/base/bits/fenv.h: likewise
* tests/base/pthread.h: likewise
From-SVN: r205793
Diffstat (limited to 'fixincludes/tests/base/pthread.h')
-rw-r--r-- | fixincludes/tests/base/pthread.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/fixincludes/tests/base/pthread.h b/fixincludes/tests/base/pthread.h index 1d28067..c39cd94 100644 --- a/fixincludes/tests/base/pthread.h +++ b/fixincludes/tests/base/pthread.h @@ -125,16 +125,6 @@ extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask); #endif /* SOLARIS_MUTEX_INIT_2_CHECK */ -#if defined( SOLARIS_RWLOCK_INIT_1_CHECK ) -#ident "@(#)pthread.h 1.26 98/04/12 SMI" -#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG) -#define PTHREAD_RWLOCK_INITIALIZER {0, 0, 0, {0, 0, 0}, {0, 0}, {0, 0}} -#else -#define PTHREAD_RWLOCK_INITIALIZER {0, 0, 0, {{0}, {0}, {0}}, {{0}, {0}}, {{0}, {0}}} -#endif -#endif /* SOLARIS_RWLOCK_INIT_1_CHECK */ - - #if defined( SOLARIS_ONCE_INIT_1_CHECK ) #pragma ident "@(#)pthread.h 1.37 04/09/28 SMI" #if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG) @@ -156,6 +146,16 @@ extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask); #endif /* SOLARIS_ONCE_INIT_2_CHECK */ +#if defined( SOLARIS_RWLOCK_INIT_1_CHECK ) +#ident "@(#)pthread.h 1.26 98/04/12 SMI" +#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG) +#define PTHREAD_RWLOCK_INITIALIZER {0, 0, 0, {0, 0, 0}, {0, 0}, {0, 0}} +#else +#define PTHREAD_RWLOCK_INITIALIZER {0, 0, 0, {{0}, {0}, {0}}, {{0}, {0}}, {{0}, {0}}} +#endif +#endif /* SOLARIS_RWLOCK_INIT_1_CHECK */ + + #if defined( THREAD_KEYWORD_CHECK ) extern int pthread_create (pthread_t *__restrict __thr, extern int pthread_kill (pthread_t __thr, int __signo); |