engine: platform: sdl: try to fix 1.2 build

This commit is contained in:
Alibek Omarov
2022-01-04 08:39:11 +03:00
committed by a1batross
parent d0a39ef492
commit a2f741fe8a
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -178,7 +178,7 @@ static void Sys_StackTrace( PEXCEPTION_POINTERS pInfo )
len += Q_snprintf( message + len, 1024 - len, ")\n");
}
#if XASH_SDL >= 2
#if XASH_SDL == 2
if( host.type != HOST_DEDICATED ) // let system to restart server automaticly
SDL_ShowSimpleMessageBox( SDL_MESSAGEBOX_ERROR, "Sys_Crash", message, host.hWnd );
#endif