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.

--HG--
extra : rebase_source : 2f1b255b44b4a5d9b88d9257eb3e064e485dd760
This commit is contained in:
Ryan C. Gordon 2013-09-07 13:47:14 -04:00
parent 8d1d55e8fc
commit f48477bea0

View file

@ -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: