diff --git a/src/coreclr/pal/src/exception/seh.cpp b/src/coreclr/pal/src/exception/seh.cpp index 5aea2481bd4162..dda145c6735fad 100644 --- a/src/coreclr/pal/src/exception/seh.cpp +++ b/src/coreclr/pal/src/exception/seh.cpp @@ -303,10 +303,8 @@ PAL_ERROR SEHEnable(CPalThread *pthrCurrent) { #if HAVE_MACH_EXCEPTIONS return pthrCurrent->EnableMachExceptions(); -#elif defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__sun) || defined(__HAIKU__) || defined(__APPLE__) || defined(__wasm__) - return NO_ERROR; #else // HAVE_MACH_EXCEPTIONS -#error not yet implemented + return NO_ERROR; #endif // HAVE_MACH_EXCEPTIONS } @@ -328,10 +326,8 @@ PAL_ERROR SEHDisable(CPalThread *pthrCurrent) { #if HAVE_MACH_EXCEPTIONS return pthrCurrent->DisableMachExceptions(); -#elif defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__sun) || defined(__HAIKU__) || defined(__APPLE__) || defined(__wasm__) - return NO_ERROR; #else // HAVE_MACH_EXCEPTIONS -#error not yet implemented + return NO_ERROR; #endif // HAVE_MACH_EXCEPTIONS }