1
0

Fixed SIGABRT_COMPAT on other architectures.

This commit is contained in:
madmaxoft 2014-01-17 11:13:35 +01:00
parent aec5200893
commit 2354ac2783

View File

@ -52,7 +52,9 @@ void NonCtrlHandler(int a_Signal)
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }
case SIGABRT: case SIGABRT:
#ifdef SIGABRT_COMPAT
case SIGABRT_COMPAT: case SIGABRT_COMPAT:
#endif
{ {
std::signal(a_Signal, SIG_DFL); std::signal(a_Signal, SIG_DFL);
LOGERROR(" D: | MCServer has encountered an error and needs to close"); LOGERROR(" D: | MCServer has encountered an error and needs to close");