mirror of
https://github.com/yawut/SDL.git
synced 2026-04-24 23:37:09 -05:00
Patched to compile on Windows.
This commit is contained in:
parent
2ef51927fe
commit
652f5a7622
|
|
@ -164,10 +164,10 @@ SDL_SYS_SetupThread(const char *name)
|
|||
#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. */
|
||||
THREADNAME_INFO inf;
|
||||
info.dwType = 0x1000;
|
||||
info.szName = name;
|
||||
info.dwThreadID = (DWORD) -1;
|
||||
info.dwFlags = 0;
|
||||
inf.dwType = 0x1000;
|
||||
inf.szName = name;
|
||||
inf.dwThreadID = (DWORD) -1;
|
||||
inf.dwFlags = 0;
|
||||
|
||||
__try
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user