From f955a86f64289de63702bd03f4d6d7fdec9dff1b Mon Sep 17 00:00:00 2001 From: Matthias Benkard Date: Mon, 28 Jan 2008 20:16:27 +0100 Subject: Add GNU runtime guards to the files imported from JIGS. darcs-hash:4b8ebfe2f636c1515b99d4138075df0ad4e8a5e1 --- Objective-C/JIGS/ObjcRuntimeUtilities.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Objective-C/JIGS/ObjcRuntimeUtilities.h') diff --git a/Objective-C/JIGS/ObjcRuntimeUtilities.h b/Objective-C/JIGS/ObjcRuntimeUtilities.h index 563a43d..5096293 100644 --- a/Objective-C/JIGS/ObjcRuntimeUtilities.h +++ b/Objective-C/JIGS/ObjcRuntimeUtilities.h @@ -23,6 +23,10 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA. */ +/* FIXME: This should be something like a simple #ifndef + __NEXT_RUNTIME__, but __NEXT_RUNTIME__ isn't defined in C code. */ +#if !defined(__NEXT_RUNTIME__) && !defined(__APPLE__) + #ifndef __ObjcRuntimeUtilities_h_GNUSTEP_JAVA_INCLUDE #define __ObjcRuntimeUtilities_h_GNUSTEP_JAVA_INCLUDE @@ -169,3 +173,4 @@ const char *ObjcUtilities_build_runtime_Objc_signature (const char *); void ObjcUtilities_register_method_list (Class class, MethodList *ml); #endif /* __ObjcRuntimeUtilitis_h_GNUSTEP_JAVA_INCLUDE */ +#endif -- cgit v1.2.3