Disable thread naming on Windows for now.
authorRyan C. Gordon <icculus@icculus.org>
Sun, 02 Oct 2011 00:59:11 -0400
changeset 59739392717808aa
parent 5972 8b7f8d297943
child 5974 13e67468b846
Disable thread naming on Windows for now.

We need the C runtime, which we don't link against, for __try/__except.
src/thread/windows/SDL_systhread.c
     1.1 --- a/src/thread/windows/SDL_systhread.c	Sun Oct 02 00:49:52 2011 -0400
     1.2 +++ b/src/thread/windows/SDL_systhread.c	Sun Oct 02 00:59:11 2011 -0400
     1.3 @@ -161,6 +161,7 @@
     1.4  void
     1.5  SDL_SYS_SetupThread(const char *name)
     1.6  {
     1.7 +#if 0  /* !!! FIXME: __except needs C runtime, which we don't link against. */
     1.8  #ifdef _MSC_VER  /* !!! FIXME: can we do SEH on other compilers yet? */
     1.9      /* This magic tells the debugger to name a thread if it's listening. */
    1.10      THREADNAME_INFO inf;
    1.11 @@ -178,6 +179,7 @@
    1.12          /* The program itself should ignore this bogus exception. */
    1.13      }
    1.14  #endif
    1.15 +#endif
    1.16  }
    1.17  
    1.18  SDL_threadID