Skip to content

Commit a65f1d8

Browse files
committed
Fix build on FreeBSD (there's no std::_Exit)
1 parent 7d7441e commit a65f1d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rts/System/Platform/Linux/CrashHandler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ static void ForcedExitAfterFiveSecs() {
342342
__FORCE_ALIGN_STACK__
343343
static void ForcedExitAfterTenSecs() {
344344
boost::this_thread::sleep(boost::posix_time::seconds(10));
345-
std::_Exit(-1);
345+
exit(-1);
346346
}
347347

348348

0 commit comments

Comments
 (0)