| Index: Source/wtf/ThreadingWin.cpp
|
| diff --git a/Source/wtf/ThreadingWin.cpp b/Source/wtf/ThreadingWin.cpp
|
| index f12679fc1c14d98eacaf6f4a8d471c6725101d42..1716a158b6abb704557121c6c10059848df0ef6c 100644
|
| --- a/Source/wtf/ThreadingWin.cpp
|
| +++ b/Source/wtf/ThreadingWin.cpp
|
| @@ -107,11 +107,8 @@
|
| #include "ThreadSpecific.h"
|
| #endif
|
|
|
| -#include <process.h>
|
| -
|
| -#if HAVE(ERRNO_H)
|
| #include <errno.h>
|
| -#endif
|
| +#include <process.h>
|
|
|
| namespace WTF {
|
|
|
| @@ -223,11 +220,7 @@ ThreadIdentifier createThreadInternal(ThreadFunction entryPoint, void* data, con
|
| OwnPtr<ThreadFunctionInvocation> invocation = adoptPtr(new ThreadFunctionInvocation(entryPoint, data));
|
| HANDLE threadHandle = reinterpret_cast<HANDLE>(_beginthreadex(0, 0, wtfThreadEntryPoint, invocation.get(), 0, &threadIdentifier));
|
| if (!threadHandle) {
|
| -#if !HAVE(ERRNO_H)
|
| - LOG_ERROR("Failed to create thread at entry point %p with data %p.", entryPoint, data);
|
| -#else
|
| LOG_ERROR("Failed to create thread at entry point %p with data %p: %ld", entryPoint, data, errno);
|
| -#endif
|
| return 0;
|
| }
|
|
|
|
|