mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-02-21 03:21:37 +00:00
DebuggerServer: should now also work with SDL1.2
This commit is contained in:
parent
6b6b28a401
commit
2cff2ae137
1 changed files with 5 additions and 0 deletions
|
@ -166,7 +166,12 @@ bool DebuggerServerInit ( void )
|
|||
}
|
||||
|
||||
// Start the debugger server thread
|
||||
#if SDL_VERSION_ATLEAST(2, 0, 0)
|
||||
gDebuggerServerThread = SDL_CreateThread( DebuggerServerThread, "DebuggerServer", NULL );
|
||||
#else // SDL 1.2
|
||||
gDebuggerServerThread = SDL_CreateThread( DebuggerServerThread, NULL );
|
||||
#endif
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue