diff options
author | Matthias Benkard <code@mail.matthias.benkard.de> | 2008-01-28 20:16:27 +0100 |
---|---|---|
committer | Matthias Benkard <code@mail.matthias.benkard.de> | 2008-01-28 20:16:27 +0100 |
commit | f955a86f64289de63702bd03f4d6d7fdec9dff1b (patch) | |
tree | cab896469b2bd1d653fe6231e64934ecbae23829 /Objective-C/JIGS/ObjcRuntimeUtilities.c | |
parent | cc96561d0c9a2a8e8e00c0c6dec63ea41da54770 (diff) |
Add GNU runtime guards to the files imported from JIGS.
darcs-hash:4b8ebfe2f636c1515b99d4138075df0ad4e8a5e1
Diffstat (limited to 'Objective-C/JIGS/ObjcRuntimeUtilities.c')
-rw-r--r-- | Objective-C/JIGS/ObjcRuntimeUtilities.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Objective-C/JIGS/ObjcRuntimeUtilities.c b/Objective-C/JIGS/ObjcRuntimeUtilities.c index 9fbb3fc..f909e0a 100644 --- a/Objective-C/JIGS/ObjcRuntimeUtilities.c +++ b/Objective-C/JIGS/ObjcRuntimeUtilities.c @@ -46,6 +46,10 @@ */ #define OBJC_VERSION 8 +/* FIXME: This should be something like an #ifndef __NEXT_RUNTIME__, but + __NEXT_RUNTIME__ isn't defined in C code. */ +#ifndef __APPLE__ + #include "ObjcRuntimeUtilities.h" #include <string.h> @@ -213,8 +217,4 @@ void ObjcUtilities_register_method_list (Class class, MethodList *ml) objc_mutex_unlock (__objc_runtime_mutex); } - - - - - +#endif |