Allow dialogs to be displayed on other Unix-like OSs

This commit is contained in:
Cacodemon345 2020-06-03 11:40:49 +06:00 committed by alexey.lysiuk
parent fa54afbd08
commit 392f78dfbc

View file

@ -78,8 +78,8 @@ void I_SetIWADInfo()
void Mac_I_FatalError(const char* errortext);
#endif
#ifdef __linux__
void Linux_I_FatalError(const char* errortext)
#ifdef __unix__
void Unix_I_FatalError(const char* errortext)
{
// Close window or exit fullscreen and release mouse capture
SDL_Quit();
@ -116,8 +116,8 @@ void I_ShowFatalError(const char *message)
{
#ifdef __APPLE__
Mac_I_FatalError(message);
#elif defined __linux__
Linux_I_FatalError(message);
#elif defined __unix__
Unix_I_FatalError(message);
#else
// ???
#endif