Disable thread naming on Win64 for now.
authorRyan C. Gordon <icculus@icculus.org>
Sat, 07 Sep 2013 13:47:14 -0400
changeset 7735eeba085802ca
parent 7733 957d7137867c
child 7736 84d89d60908f
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
     1.1 --- a/src/thread/windows/SDL_systhread.c	Fri Sep 06 20:54:14 2013 -0700
     1.2 +++ b/src/thread/windows/SDL_systhread.c	Sat Sep 07 13:47:14 2013 -0400
     1.3 @@ -168,7 +168,7 @@
     1.4  SDL_SYS_SetupThread(const char *name)
     1.5  {
     1.6      if (name != NULL) {
     1.7 -        #ifdef _MSC_VER
     1.8 +        #if (defined(_MSC_VER) && defined(_M_IX86))
     1.9          /* This magic tells the debugger to name a thread if it's listening.
    1.10              The inline asm sets up SEH (__try/__except) without C runtime
    1.11              support. See Microsoft Systems Journal, January 1997: