DebuggerServer: should now also work with SDL1.2

This commit is contained in:
Daniel Gibson 2021-05-27 03:39:18 +02:00
parent 6b6b28a401
commit 2cff2ae137

View file

@ -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;
}