@@ -63,11 +63,11 @@ #endif struct Library *ObjFWRTBase; void *__objc_class_name_Protocol; -extern bool objc_init(unsigned int version, struct objc_libc *libc); +extern bool objc_init(unsigned int version, struct objc_libC *libC); static void error(const char *string, ULONG arg) { struct Library *IntuitionBase = OpenLibrary("intuition.library", 0); @@ -91,11 +91,11 @@ static void __attribute__((__used__)) ctor(void) { static bool initialized = false; - struct objc_libc libc = { + struct objc_libC libC = { .malloc = malloc, .calloc = calloc, .realloc = realloc, .free = free, #ifdef HAVE_SJLJ_EXCEPTIONS @@ -139,11 +139,11 @@ if ((ObjFWRTBase = OpenLibrary(OBJFWRT_AMIGA_LIB, OBJFWRT_LIB_MINOR)) == NULL) error("Failed to open " OBJFWRT_AMIGA_LIB " version %lu!", OBJFWRT_LIB_MINOR); - if (!objc_init(1, &libc)) + if (!objc_init(1, &libC)) error("Failed to initialize " OBJFWRT_AMIGA_LIB "!", 0); initialized = true; }