From 2bca1b7ecba3f1cd2f335588f1b9109250fc616f Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Tue, 1 Nov 2011 16:31:30 +0000 Subject: [PATCH] Fix compilation on linux. Thank salty Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3754 --- src/gui/sdlmain.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/sdlmain.cpp b/src/gui/sdlmain.cpp index e2285968..d495042e 100644 --- a/src/gui/sdlmain.cpp +++ b/src/gui/sdlmain.cpp @@ -1928,7 +1928,9 @@ int main(int argc, char* argv[]) { control->StartUp(); /* Shutdown everything */ } catch (char * error) { +#if defined (WIN32) sticky_keys(true); +#endif GFX_ShowMsg("Exit to error: %s",error); fflush(NULL); if(sdl.wait_on_error) {