Skip to content
Permalink
Browse files

- 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
  • Loading branch information...
alexey-lysiuk committed Oct 8, 2019
1 parent 18464d5 commit d87f7593b8434f474627b99eac40ef21c1d0f6b4
Showing with 2 additions and 2 deletions.
  1. +0 −1 src/posix/cocoa/i_main.mm
  2. +1 −1 src/posix/sdl/i_system.cpp
  3. +1 −0 src/posix/sdl/st_start.cpp
@@ -149,7 +149,6 @@ int OriginalMainTry(int argc, char** argv)
progdir += "/";

auto ret = D_DoomMain();
ShutdownJoysticks();
FConsoleWindow::DeleteInstance();
return ret;
}
@@ -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
@@ -42,6 +42,7 @@
#include "doomdef.h"
#include "i_system.h"
#include "c_cvars.h"
#include "doomerrors.h"

// MACROS ------------------------------------------------------------------

0 comments on commit d87f759

Please sign in to comment.
You can’t perform that action at this time.