diff options
author | midipix <writeonce@midipix.org> | 2019-03-11 14:30:10 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-03-12 02:53:40 -0400 |
commit | 048d1eb9132455948079c217ba1c5de9ff8e5f35 (patch) | |
tree | 432fd79c80beca6b3bee5f8fa4f65f6b6f374e17 /libgomp/config | |
parent | 9725359a692a08edca255132b795cf0b102e5104 (diff) | |
download | cbb-gcc-4.6.4-048d1eb9132455948079c217ba1c5de9ff8e5f35.tar.bz2 cbb-gcc-4.6.4-048d1eb9132455948079c217ba1c5de9ff8e5f35.tar.xz |
libgomp/config/posix/lock.c: fix _XOPEN_SOURCE feature-test re-definition bug.
Diffstat (limited to 'libgomp/config')
-rw-r--r-- | libgomp/config/posix/lock.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libgomp/config/posix/lock.c b/libgomp/config/posix/lock.c index 8cd715e64..6c9194f25 100644 --- a/libgomp/config/posix/lock.c +++ b/libgomp/config/posix/lock.c @@ -34,8 +34,10 @@ the declarations are available without _XOPEN_SOURCE, which actually breaks compilation. */ #ifndef __osf__ +#ifndef _XOPEN_SOURCE #define _XOPEN_SOURCE 500 #endif +#endif #include "libgomp.h" |