Commit 18cd3d30 authored by Ryan C. Gordon's avatar Ryan C. Gordon

Patched to compile on Windows.

parent 0863dee5
...@@ -164,10 +164,10 @@ SDL_SYS_SetupThread(const char *name) ...@@ -164,10 +164,10 @@ SDL_SYS_SetupThread(const char *name)
#ifdef _MSC_VER /* !!! FIXME: can we do SEH on other compilers yet? */ #ifdef _MSC_VER /* !!! FIXME: can we do SEH on other compilers yet? */
/* This magic tells the debugger to name a thread if it's listening. */ /* This magic tells the debugger to name a thread if it's listening. */
THREADNAME_INFO inf; THREADNAME_INFO inf;
info.dwType = 0x1000; inf.dwType = 0x1000;
info.szName = name; inf.szName = name;
info.dwThreadID = (DWORD) -1; inf.dwThreadID = (DWORD) -1;
info.dwFlags = 0; inf.dwFlags = 0;
__try __try
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment