aboutsummaryrefslogtreecommitdiff
path: root/libobjc/thr.c
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2015-02-05 09:41:44 +0000
committerRainer Orth <ro@gcc.gnu.org>2015-02-05 09:41:44 +0000
commit6c6e94b902c3be9903df4f6a834ef9e795a96212 (patch)
tree79ff5296af356aef92b013a298db0796976e35ed /libobjc/thr.c
parentaebab21a5be7d360f64c30baf752183a230d8db5 (diff)
downloadgcc-6c6e94b902c3be9903df4f6a834ef9e795a96212.zip
gcc-6c6e94b902c3be9903df4f6a834ef9e795a96212.tar.gz
gcc-6c6e94b902c3be9903df4f6a834ef9e795a96212.tar.bz2
Fix failures on AIX (PR libobjc/63765)
PR libobjc/63765 * thr.c (_XOPEN_SOURCE): Remove. From-SVN: r220438
Diffstat (limited to 'libobjc/thr.c')
-rw-r--r--libobjc/thr.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libobjc/thr.c b/libobjc/thr.c
index f45a752..4b16d4b 100644
--- a/libobjc/thr.c
+++ b/libobjc/thr.c
@@ -25,11 +25,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#include "objc-private/common.h"
#include "objc-private/error.h"
#define _LIBOBJC
-/* The line below is needed for declarations of functions such as
- pthread_mutexattr_settype, without which gthr-posix.h may fail to
- compile within libobjc. While we only need XPG5 for this, Solaris
- requires XPG6 for C99 and later. */
-#define _XOPEN_SOURCE 600
#include "config.h"
#include "tconfig.h"
#include "coretypes.h"