mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-29 23:33:00 +00:00
Allow dialogs to be displayed on other Unix-like OSs
This commit is contained in:
parent
fa54afbd08
commit
392f78dfbc
1 changed files with 4 additions and 4 deletions
|
@ -78,8 +78,8 @@ void I_SetIWADInfo()
|
||||||
void Mac_I_FatalError(const char* errortext);
|
void Mac_I_FatalError(const char* errortext);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __linux__
|
#ifdef __unix__
|
||||||
void Linux_I_FatalError(const char* errortext)
|
void Unix_I_FatalError(const char* errortext)
|
||||||
{
|
{
|
||||||
// Close window or exit fullscreen and release mouse capture
|
// Close window or exit fullscreen and release mouse capture
|
||||||
SDL_Quit();
|
SDL_Quit();
|
||||||
|
@ -116,8 +116,8 @@ void I_ShowFatalError(const char *message)
|
||||||
{
|
{
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
Mac_I_FatalError(message);
|
Mac_I_FatalError(message);
|
||||||
#elif defined __linux__
|
#elif defined __unix__
|
||||||
Linux_I_FatalError(message);
|
Unix_I_FatalError(message);
|
||||||
#else
|
#else
|
||||||
// ???
|
// ???
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue