diff --git a/src/thread_none.cpp b/src/thread_none.cpp --- a/src/thread_none.cpp +++ b/src/thread_none.cpp @@ -5,22 +5,8 @@ #include "stdafx.h" #include "thread.h" -/* static */ ThreadObject *ThreadObject::New(OTTDThreadFunc proc, void *param) +/* static */ bool ThreadObject::New(OTTDThreadFunc proc, void *param, ThreadObject **thread) { - return NULL; -} - -/* static */ ThreadObject *ThreadObject::AttachCurrent() -{ - return NULL; + if (thread != NULL) *thread = NULL; + return false; } - -/* static */ uint ThreadObject::CurrentId() -{ - return -1; -} - -/* static */ ThreadSemaphore *ThreadSemaphore::New() -{ - return NULL; -}