Disable thread naming on Windows for now.
We need the C runtime, which we don't link against, for __try/__except.
This commit is contained in:
parent
e07d7980cd
commit
d328ee7f5b
1 changed files with 2 additions and 0 deletions
|
@ -161,6 +161,7 @@ typedef struct tagTHREADNAME_INFO
|
||||||
void
|
void
|
||||||
SDL_SYS_SetupThread(const char *name)
|
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? */
|
#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. */
|
/* This magic tells the debugger to name a thread if it's listening. */
|
||||||
THREADNAME_INFO inf;
|
THREADNAME_INFO inf;
|
||||||
|
@ -178,6 +179,7 @@ SDL_SYS_SetupThread(const char *name)
|
||||||
/* The program itself should ignore this bogus exception. */
|
/* The program itself should ignore this bogus exception. */
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
SDL_threadID
|
SDL_threadID
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue