@@ -13,11 +13,20 @@ * Public License, either version 2 or 3, which can be found in the file * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ +#ifdef OF_AMIGAOS4 +# define __USE_INLINE__ +# define __NOLIBBASE__ +# define __NOGLOBALIFACE__ +#endif #include + +#ifdef OF_AMIGAOS4 +extern struct ExecIFace *IExec; +#endif bool of_mutex_new(of_mutex_t *mutex) { InitSemaphore(mutex);