encoding.c (DFmode): #undef before #define.
[gcc.git] / libobjc / thr.c
index 3f7e5c525fae33f892af88acbd1dc4562595f83d..1ee6918f4f08b051ba55ae27df3b44cf44fa317a 100644 (file)
@@ -1,5 +1,5 @@
 /* GNU Objective C Runtime Thread Interface
-   Copyright (C) 1996, 1997, 2009, 2010 Free Software Foundation, Inc.
+   Copyright (C) 1996-2019 Free Software Foundation, Inc.
    Contributed by Galen C. Hunt (gchunt@cs.rochester.edu)
 
 This file is part of GCC.
@@ -25,13 +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.  Unfortunately, this breaks compilation on
-   Tru64 UNIX V4.0F, so disable it there.  */
-#ifndef __osf__
-#define _XOPEN_SOURCE 500
-#endif
 #include "config.h"
 #include "tconfig.h"
 #include "coretypes.h"
@@ -40,6 +33,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 #include "objc/thr.h"
 #include "objc/message.h" /* For objc_msg_lookup().  */
 #include "objc/runtime.h"
+#include "objc-private/module-abi-8.h"
 #include "objc-private/runtime.h"
 #include <gthr.h>