diff --git a/src/sdl/i_system.c b/src/sdl/i_system.c index 23b82da7394b92389a1737e1e127e6f1591d43e9..be46cd804489bb2eeb042c88004b025a3c514279 100644 --- a/src/sdl/i_system.c +++ b/src/sdl/i_system.c @@ -406,8 +406,10 @@ static void I_ReportSignal(int num, int coredumped) SDL_ShowMessageBox(&messageboxdata, &buttonid); +#if SDL_VERSION_ATLEAST(2,0,14) if (buttonid == 1) SDL_OpenURL("https://www.srb2.org/discord"); +#endif } #ifndef NEWSIGNALHANDLER