mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 01:01:33 +00:00
SDL: add version check for SDL_OPenURL()
This commit is contained in:
parent
02c4720703
commit
8558d123ee
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue