Skip to content

Commit

Permalink
Disable thread naming on Win64 for now.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
icculus committed Sep 7, 2013
1 parent dc9ddf1 commit 83383c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/thread/windows/SDL_systhread.c
Expand Up @@ -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:
Expand Down

0 comments on commit 83383c6

Please sign in to comment.