summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
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");