diff options
author | kan <kan@FreeBSD.org> | 2007-08-14 02:52:47 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2007-08-14 02:52:47 +0000 |
commit | b162aa2e5ac107cf3b97741e44870bb56d7c6d95 (patch) | |
tree | 5e95b22c2c4ebf79dc5f78945bb78bf4f3f0dac2 /contrib/gcclibs/libgomp/config/posix/lock.c | |
parent | 3a6aff6a021825364b48a6aa40840c61caaddb7d (diff) | |
download | FreeBSD-src-b162aa2e5ac107cf3b97741e44870bb56d7c6d95.zip FreeBSD-src-b162aa2e5ac107cf3b97741e44870bb56d7c6d95.tar.gz |
GCC 4.2.1 release miscellaneous support libraries.
Diffstat (limited to 'contrib/gcclibs/libgomp/config/posix/lock.c')
-rw-r--r-- | contrib/gcclibs/libgomp/config/posix/lock.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/gcclibs/libgomp/config/posix/lock.c b/contrib/gcclibs/libgomp/config/posix/lock.c index 062174d..59459bb 100644 --- a/contrib/gcclibs/libgomp/config/posix/lock.c +++ b/contrib/gcclibs/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" |