Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Patched to compile on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Oct 2, 2011
1 parent 1772c81 commit baf9143
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/thread/windows/SDL_systhread.c
Expand Up @@ -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
{
Expand Down

0 comments on commit baf9143

Please sign in to comment.