From 83383c6527e893dbae049d10531ac62b03e21e81 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sat, 7 Sep 2013 13:47:14 -0400 Subject: [PATCH] Disable thread naming on Win64 for now. We can't use _try/_except without the C runtime, and we can't use inline asm with the Win64 compiler. We'll need to move this to an .asm file or something later. --- src/thread/windows/SDL_systhread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thread/windows/SDL_systhread.c b/src/thread/windows/SDL_systhread.c index 7117ba3948943..8efcd50895731 100644 --- a/src/thread/windows/SDL_systhread.c +++ b/src/thread/windows/SDL_systhread.c @@ -168,7 +168,7 @@ void SDL_SYS_SetupThread(const char *name) { if (name != NULL) { - #ifdef _MSC_VER + #if (defined(_MSC_VER) && defined(_M_IX86)) /* This magic tells the debugger to name a thread if it's listening. The inline asm sets up SEH (__try/__except) without C runtime support. See Microsoft Systems Journal, January 1997: