Index: src/runtime/ObjFW-RT.h ================================================================== --- src/runtime/ObjFW-RT.h +++ src/runtime/ObjFW-RT.h @@ -26,12 +26,10 @@ #include #include #include -#import "platform.h" - #ifndef __has_feature # define __has_feature(x) 0 #endif #ifndef __has_attribute @@ -199,11 +197,11 @@ struct objc_protocol_list *_Nullable next; long count; Protocol *__unsafe_unretained _Nonnull list[1]; }; -#if 1 /* !defined(OF_MORPHOS) || defined(OF_COMPILING_OBJFW_RT) */ +#if 1 /* !defined(__MORPHOS__) || defined(OF_COMPILING_OBJFW_RT) */ # ifdef __cplusplus extern "C" { # endif extern SEL _Nonnull sel_registerName(const char *_Nonnull); extern const char *_Nonnull sel_getName(SEL _Nonnull);