- fixed compilation of POSIX targets

src/posix/cocoa/i_main.mm:152:2: error: use of undeclared identifier 'ShutdownJoysticks'
src/posix/sdl/i_system.cpp:128:3: error: ‘I_FatalError_Gtk’ was not declared in this scope
src/posix/sdl/st_start.cpp:329:8: error: ‘CExitEvent’ was not declared in this scope
This commit is contained in:
alexey.lysiuk 2019-10-08 10:48:43 +03:00
parent 18464d571d
commit d87f7593b8
3 changed files with 2 additions and 2 deletions

View file

@ -149,7 +149,6 @@ int OriginalMainTry(int argc, char** argv)
progdir += "/";
auto ret = D_DoomMain();
ShutdownJoysticks();
FConsoleWindow::DeleteInstance();
return ret;
}

View file

@ -125,7 +125,7 @@ void Linux_I_FatalError(const char* errortext)
#ifndef NO_GTK
else if (I_GtkAvailable())
{
I_FatalError_Gtk(errortext);
I_ShowFatalError_Gtk(errortext);
}
#endif
else

View file

@ -42,6 +42,7 @@
#include "doomdef.h"
#include "i_system.h"
#include "c_cvars.h"
#include "doomerrors.h"
// MACROS ------------------------------------------------------------------