]> git.tdb.fi Git - libs/core.git/blobdiff - source/core/windows/thread.cpp
Add move semantics to Variant
[libs/core.git] / source / core / windows / thread.cpp
index 24830943e6f096c7985171a1b26eeb4077c1f3a5..3231896c7a7d7283c01f4d863a6cc9a05175ed08 100644 (file)
@@ -1,4 +1,4 @@
-#include <windows.h>
+#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()