Fixed SIGABRT_COMPAT on other architectures.
This commit is contained in:
parent
aec5200893
commit
2354ac2783
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user