From baf91431fe34051a2e9117d760bd62bb37f21802 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sun, 2 Oct 2011 00:36:18 -0400 Subject: [PATCH] Patched to compile on Windows. --- src/thread/windows/SDL_systhread.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/thread/windows/SDL_systhread.c b/src/thread/windows/SDL_systhread.c index 74a3ec6fd..3c7bbae0f 100644 --- a/src/thread/windows/SDL_systhread.c +++ b/src/thread/windows/SDL_systhread.c @@ -164,10 +164,10 @@ SDL_SYS_SetupThread(const char *name) #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. */ THREADNAME_INFO inf; - info.dwType = 0x1000; - info.szName = name; - info.dwThreadID = (DWORD) -1; - info.dwFlags = 0; + inf.dwType = 0x1000; + inf.szName = name; + inf.dwThreadID = (DWORD) -1; + inf.dwFlags = 0; __try {