diff options
author | danglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-10-14 22:22:25 +0000 |
---|---|---|
committer | danglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-10-14 22:22:25 +0000 |
commit | 3c6ef6a28aff7d943aa6e6fc19dd6e45fb4eb0fd (patch) | |
tree | 5801b6f2b209bade8000d6fd38bdbfbfaf4407ec /fixincludes/tests | |
parent | f9cdaf4bd093f2284cf785c9c718b93c0548b249 (diff) | |
download | gcc-3c6ef6a28aff7d943aa6e6fc19dd6e45fb4eb0fd.tar.gz |
PR target/33700
* inclhack.def (hpux11_pthread_const): New.
* fixincl.x: Regenerate.
* tests/base/sys/pthread.h: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129304 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'fixincludes/tests')
-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 9948288d92a..8b893cfe55f 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 }, \ |