Addresses https://github.com/dotnet/coreclr/issues/626
.
{
#if HAVE_MACH_EXCEPTIONS
return pthrCurrent->EnableMachExceptions();
-#elif __LINUX__
+#elif __LINUX__ || defined(__FreeBSD__)
// TODO: This needs to be implemented. Cannot put an ASSERT here
// because it will make other parts of PAL fail.
return NO_ERROR;
return pthrCurrent->DisableMachExceptions();
// TODO: This needs to be implemented. Cannot put an ASSERT here
// because it will make other parts of PAL fail.
-#elif __LINUX__
+#elif __LINUX__ || defined(__FreeBSD__)
return NO_ERROR;
#else // HAVE_MACH_EXCEPTIONS
#error not yet implemented