diff options
author | Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | 2007-07-02 14:38:13 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2007-07-02 14:38:13 +0000 |
commit | 28c67ed737e3f46d034e0b9e50d7e51f3f72d1d9 (patch) | |
tree | ca6005e2302195c26a3a5a5e186db4186375cb6f | |
parent | e12605764d9a8d00fea20119b8a34de0afb9c7e1 (diff) | |
download | gcc-28c67ed737e3f46d034e0b9e50d7e51f3f72d1d9.zip gcc-28c67ed737e3f46d034e0b9e50d7e51f3f72d1d9.tar.gz gcc-28c67ed737e3f46d034e0b9e50d7e51f3f72d1d9.tar.bz2 |
re PR libgomp/26308 (libgomp bootstrap failure on Tru64 UNIX V4.0F)
PR libgomp/26308
* config/posix/lock.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX.
From-SVN: r126208
-rw-r--r-- | libgomp/ChangeLog | 5 | ||||
-rw-r--r-- | libgomp/config/posix/lock.c | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index a4abc44..6e5b09f 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,8 @@ +2007-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> + + PR libgomp/26308 + * config/posix/lock.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX. + 2007-06-21 Jakub Jelinek <jakub@redhat.com> PR middle-end/32362 diff --git a/libgomp/config/posix/lock.c b/libgomp/config/posix/lock.c index 062174d..59459bb 100644 --- a/libgomp/config/posix/lock.c +++ b/libgomp/config/posix/lock.c @@ -33,8 +33,12 @@ to do better and streamline the locking as well as reduce the size of the types exported. */ -/* We need Unix98 extensions to get recursive locks. */ +/* We need Unix98 extensions to get recursive locks. On Tru64 UNIX V4.0F, + the declarations are available without _XOPEN_SOURCE, which actually + breaks compilation. */ +#ifndef __osf__ #define _XOPEN_SOURCE 500 +#endif #include "libgomp.h" |