-#include <windows.h>
+#include "winapi.h"
#include "thread.h"
#include "thread_private.h"
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()