Patched to compile on Windows.
authorRyan C. Gordon <icculus@icculus.org>
Sun, 02 Oct 2011 00:36:18 -0400
changeset 5970 34263edce4f4
parent 5969 3a041d215edc
child 5971 ca2d4b8e9e40
Patched to compile on Windows.
src/thread/windows/SDL_systhread.c
--- a/src/thread/windows/SDL_systhread.c	Sun Oct 02 00:29:16 2011 -0400
+++ b/src/thread/windows/SDL_systhread.c	Sun Oct 02 00:36:18 2011 -0400
@@ -164,10 +164,10 @@
 #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
     {