Fix failures on AIX (PR libobjc/63765)

PR libobjc/63765
	* thr.c (_XOPEN_SOURCE): Remove.

From-SVN: r220438
This commit is contained in:
Rainer Orth 2015-02-05 09:41:44 +00:00 committed by Rainer Orth
parent aebab21a5b
commit 6c6e94b902
2 changed files with 5 additions and 5 deletions

View File

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

View File

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