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
This commit is contained in:
Rainer Orth 2007-07-02 14:38:13 +00:00 committed by Rainer Orth
parent e12605764d
commit 28c67ed737
2 changed files with 10 additions and 1 deletions

View File

@ -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

View File

@ -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"