X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fwindows%2Fthread.cpp;h=8890a70fb1cbd0eaff8cf32cdea008950c92e43b;hb=HEAD;hp=24830943e6f096c7985171a1b26eeb4077c1f3a5;hpb=5763dd6e8089c97699cbcbd221afb7fe1841bcdd;p=libs%2Fcore.git diff --git a/source/core/windows/thread.cpp b/source/core/windows/thread.cpp index 2483094..3231896 100644 --- a/source/core/windows/thread.cpp +++ b/source/core/windows/thread.cpp @@ -1,4 +1,4 @@ -#include +#include "winapi.h" #include "thread.h" #include "thread_private.h" @@ -17,7 +17,7 @@ void Thread::platform_kill() void Thread::platform_launch() { DWORD dummy; // Win9x needs the lpTthreadId parameter - _priv->handle = CreateThread(0, 0, &Private::main_wrapper, this, 0, &dummy); + _priv->handle = CreateThread(nullptr, 0, &Private::main_wrapper, this, 0, &dummy); } void Thread::platform_setname()