diff options
author | John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | 2007-10-14 22:22:25 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2007-10-14 22:22:25 +0000 |
commit | 6f8c175007f38203f8222c8176a45e91052be59f (patch) | |
tree | 5801b6f2b209bade8000d6fd38bdbfbfaf4407ec /fixincludes/tests/base/sys/pthread.h | |
parent | 4b7ed13a8fb6fb44856a01873a5f188f5f48e95e (diff) | |
download | gcc-6f8c175007f38203f8222c8176a45e91052be59f.zip gcc-6f8c175007f38203f8222c8176a45e91052be59f.tar.gz gcc-6f8c175007f38203f8222c8176a45e91052be59f.tar.bz2 |
re PR target/33700 (FAIL: 17_intro/headers/all_pedantic_errors.cc (test for excess errors))
PR target/33700
* inclhack.def (hpux11_pthread_const): New.
* fixincl.x: Regenerate.
* tests/base/sys/pthread.h: Update.
From-SVN: r129304
Diffstat (limited to 'fixincludes/tests/base/sys/pthread.h')
-rw-r--r-- | fixincludes/tests/base/sys/pthread.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fixincludes/tests/base/sys/pthread.h b/fixincludes/tests/base/sys/pthread.h index 9948288..8b893cf 100644 --- a/fixincludes/tests/base/sys/pthread.h +++ b/fixincludes/tests/base/sys/pthread.h @@ -9,6 +9,11 @@ +#if defined( HPUX11_PTHREAD_CONST_CHECK ) +#define __POINTER_SET ((void *) 1L) +#endif /* HPUX11_PTHREAD_CONST_CHECK */ + + #if defined( HPUX_PTHREAD_INITIALIZERS_CHECK ) #define PTHREAD_MUTEX_INITIALIZER { \ { __PTHREAD_MUTEX_VALID, 0 }, \ |