From 2354ac27839a4b540ca5a36f7fc2ae519d23f803 Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Fri, 17 Jan 2014 11:13:35 +0100 Subject: [PATCH] Fixed SIGABRT_COMPAT on other architectures. --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 94e2388d6..340149e0b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -52,7 +52,9 @@ void NonCtrlHandler(int a_Signal) exit(EXIT_FAILURE); } case SIGABRT: + #ifdef SIGABRT_COMPAT case SIGABRT_COMPAT: + #endif { std::signal(a_Signal, SIG_DFL); LOGERROR(" D: | MCServer has encountered an error and needs to close");