summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-01-17 11:13:35 +0100
committermadmaxoft <github@xoft.cz>2014-01-17 11:13:35 +0100
commit2354ac27839a4b540ca5a36f7fc2ae519d23f803 (patch)
treeaf90683170d0f3b92d2b7d429ffe3dbcd58a720e /src/main.cpp
parentRemoved internal cEntity::GetRot() usage. (diff)
downloadcuberite-2354ac27839a4b540ca5a36f7fc2ae519d23f803.tar
cuberite-2354ac27839a4b540ca5a36f7fc2ae519d23f803.tar.gz
cuberite-2354ac27839a4b540ca5a36f7fc2ae519d23f803.tar.bz2
cuberite-2354ac27839a4b540ca5a36f7fc2ae519d23f803.tar.lz
cuberite-2354ac27839a4b540ca5a36f7fc2ae519d23f803.tar.xz
cuberite-2354ac27839a4b540ca5a36f7fc2ae519d23f803.tar.zst
cuberite-2354ac27839a4b540ca5a36f7fc2ae519d23f803.zip
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");