Disable thread naming on Windows for now.
authorRyan C. Gordon <icculus@icculus.org>
Sun, 02 Oct 2011 00:59:11 -0400
changeset 5973 9392717808aa
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
--- a/src/thread/windows/SDL_systhread.c	Sun Oct 02 00:49:52 2011 -0400
+++ b/src/thread/windows/SDL_systhread.c	Sun Oct 02 00:59:11 2011 -0400
@@ -161,6 +161,7 @@
 void
 SDL_SYS_SetupThread(const char *name)
 {
+#if 0  /* !!! FIXME: __except needs C runtime, which we don't link against. */
 #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;
@@ -178,6 +179,7 @@
         /* The program itself should ignore this bogus exception. */
     }
 #endif
+#endif
 }
 
 SDL_threadID