summaryrefslogtreecommitdiff
path: root/libobjc
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2015-02-05 09:41:44 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2015-02-05 09:41:44 +0000
commitdc5f939702d5156cd644a663da81bfccf19b8365 (patch)
tree79ff5296af356aef92b013a298db0796976e35ed /libobjc
parent096494f706a796e14f40f742c412e59dd3b06600 (diff)
downloadgcc-dc5f939702d5156cd644a663da81bfccf19b8365.tar.gz
Fix failures on AIX (PR libobjc/63765)
PR libobjc/63765 * thr.c (_XOPEN_SOURCE): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@220438 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc')
-rw-r--r--libobjc/ChangeLog5
-rw-r--r--libobjc/thr.c5
2 files changed, 5 insertions, 5 deletions
diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog
index e800cbeffd1..34c3e8e8b0c 100644
--- a/libobjc/ChangeLog
+++ b/libobjc/ChangeLog
@@ -1,3 +1,8 @@
+2015-02-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ PR libobjc/63765
+ * thr.c (_XOPEN_SOURCE): Remove.
+
2015-01-27 Matthias Klose <doko@ubuntu.com>
* sendmsg.c: Add prototypes for __objc_get_forward_imp and get_imp.
diff --git a/libobjc/thr.c b/libobjc/thr.c
index f45a752afb3..4b16d4b059c 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"