@@ -52,11 +52,15 @@ #elif defined(OF_WINDOWS) # include extern int _CRT_glob; extern void __wgetmainargs(int *, wchar_t ***, wchar_t ***, int, int *); #elif defined(OF_AMIGAOS) -# define __USE_INLINE__ +# ifdef OF_AMIGAOS4 +# define __USE_INLINE__ +# define __NOLIBBASE__ +# define __NOGLOBALIFACE__ +# endif # include # include #elif !defined(OF_IOS) extern char **environ; #endif @@ -69,10 +73,14 @@ #ifdef OF_NINTENDO_DS # define asm __asm__ # include # undef asm #endif + +#ifdef OF_AMIGAOS4 +extern struct ExecIFace *IExec; +#endif @interface OFApplication () - (instancetype)of_init OF_METHOD_FAMILY(init); - (void)of_setArgumentCount: (int *)argc andArgumentValues: (char **[])argv;