From a003ce73946042fae17069e99495b1c787eaf504 Mon Sep 17 00:00:00 2001 From: lethosor Date: Mon, 17 Nov 2014 15:11:46 -0500 Subject: [PATCH] Print fatal errors to stdout on Linux/OS X --- library/Core.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/Core.cpp b/library/Core.cpp index 18801f4d9..29aba234e 100644 --- a/library/Core.cpp +++ b/library/Core.cpp @@ -966,6 +966,8 @@ void Core::fatal (std::string output, bool deactivate) #ifndef LINUX_BUILD out << "Check file stderr.log for details\n"; MessageBox(0,out.str().c_str(),"DFHack error!", MB_OK | MB_ICONERROR); +#else + cout << "DFHack fatal error: " << out.str() << std::endl; #endif }