@@ -73,16 +73,11 @@ { return (thread == GetCurrentThread()); } #elif defined(OF_AMIGAOS) extern OFPlainThread OFCurrentPlainThread(void); - -static OF_INLINE bool -OFPlainThreadIsCurrent(OFPlainThread thread) -{ - return (thread->thread == FindTask(NULL)); -} +extern bool OFPlainThreadIsCurrent(OFPlainThread); #endif #ifdef __cplusplus extern "C" { #endif