Commit 529490b4 by Rainer Orth Committed by Rainer Orth

re PR libobjc/26309 (libobjc bootstrap failure on Tru64 UNIX V4.0F)

	PR libobjc/26309
	* thr-objc.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX.

From-SVN: r111339
parent 4729dc92
2006-02-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
PR libobjc/26309
* thr-objc.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX.
2006-01-24 David Ayers <d.ayers@inode.at> 2006-01-24 David Ayers <d.ayers@inode.at>
PR libobjc/9751 PR libobjc/9751
......
/* GNU Objective C Runtime Thread Interface. /* GNU Objective C Runtime Thread Interface.
Copyright (C) 1999 Free Software Foundation, Inc. Copyright (C) 1999, 2000, 2001, 2002, 2003, 2005, 2006
Free Software Foundation, Inc.
This file is part of GCC. This file is part of GCC.
...@@ -26,8 +27,11 @@ Boston, MA 02110-1301, USA. */ ...@@ -26,8 +27,11 @@ Boston, MA 02110-1301, USA. */
#define _LIBOBJC #define _LIBOBJC
/* The line below is needed for declarations of functions such as /* The line below is needed for declarations of functions such as
pthread_mutexattr_settype, without which gthr-posix.h may fail to pthread_mutexattr_settype, without which gthr-posix.h may fail to
compile within libobjc. */ compile within libobjc. Unfortunately, this breaks compilation on
Tru64 UNIX V4.0F, so disable it there. */
#ifndef __osf__
#define _XOPEN_SOURCE 500 #define _XOPEN_SOURCE 500
#endif
#include "config.h" #include "config.h"
#include "tconfig.h" #include "tconfig.h"
#include "coretypes.h" #include "coretypes.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment