From 8d731813344ddedb309b010dcabe2c61a822dc64 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sun, 2 Oct 2011 00:59:11 -0400 Subject: [PATCH] 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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/thread/windows/SDL_systhread.c b/src/thread/windows/SDL_systhread.c index a1c1c2700..e0bd3fbd1 100644 --- a/src/thread/windows/SDL_systhread.c +++ b/src/thread/windows/SDL_systhread.c @@ -161,6 +161,7 @@ typedef struct tagTHREADNAME_INFO 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 @@ SDL_SYS_SetupThread(const char *name) /* The program itself should ignore this bogus exception. */ } #endif +#endif } SDL_threadID