Patched to compile on Windows.
authorRyan C. Gordon <icculus@icculus.org>
Sun, 02 Oct 2011 00:36:18 -0400
changeset 597034263edce4f4
parent 5969 3a041d215edc
child 5971 ca2d4b8e9e40
Patched to compile on Windows.
src/thread/windows/SDL_systhread.c
     1.1 --- a/src/thread/windows/SDL_systhread.c	Sun Oct 02 00:29:16 2011 -0400
     1.2 +++ b/src/thread/windows/SDL_systhread.c	Sun Oct 02 00:36:18 2011 -0400
     1.3 @@ -164,10 +164,10 @@
     1.4  #ifdef _MSC_VER  /* !!! FIXME: can we do SEH on other compilers yet? */
     1.5      /* This magic tells the debugger to name a thread if it's listening. */
     1.6      THREADNAME_INFO inf;
     1.7 -    info.dwType = 0x1000;
     1.8 -    info.szName = name;
     1.9 -    info.dwThreadID = (DWORD) -1;
    1.10 -    info.dwFlags = 0;
    1.11 +    inf.dwType = 0x1000;
    1.12 +    inf.szName = name;
    1.13 +    inf.dwThreadID = (DWORD) -1;
    1.14 +    inf.dwFlags = 0;
    1.15  
    1.16      __try
    1.17      {