diff options
author | Kamil Rytarowski <n54@gmx.com> | 2016-01-22 17:07:49 +0100 |
---|---|---|
committer | Kamil Rytarowski <n54@gmx.com> | 2016-01-22 17:07:49 +0100 |
commit | 382cb9eba37583a3412fe26ecee3b209a2726332 (patch) | |
tree | 5ec90ceb17edd37dcdbf33ece7deed81f69c0151 | |
parent | 431f7ff1150561a9d27e29c155706e279328446a (diff) | |
download | coreclr-382cb9eba37583a3412fe26ecee3b209a2726332.tar.gz coreclr-382cb9eba37583a3412fe26ecee3b209a2726332.tar.bz2 coreclr-382cb9eba37583a3412fe26ecee3b209a2726332.zip |
NetBSD: Add a kludge to disable unimplemented SEHEnable()/Disable()
-rw-r--r-- | src/pal/src/exception/seh.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pal/src/exception/seh.cpp b/src/pal/src/exception/seh.cpp index fa445bc3d3..d2b4a930a0 100644 --- a/src/pal/src/exception/seh.cpp +++ b/src/pal/src/exception/seh.cpp @@ -206,7 +206,7 @@ PAL_ERROR SEHEnable(CPalThread *pthrCurrent) { #if HAVE_MACH_EXCEPTIONS return pthrCurrent->EnableMachExceptions(); -#elif __LINUX__ || defined(__FreeBSD__) +#elif __LINUX__ || defined(__FreeBSD__) || defined(__NetBSD__) // TODO: This needs to be implemented. Cannot put an ASSERT here // because it will make other parts of PAL fail. return NO_ERROR; @@ -235,7 +235,7 @@ PAL_ERROR SEHDisable(CPalThread *pthrCurrent) 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__ || defined(__FreeBSD__) +#elif __LINUX__ || defined(__FreeBSD__) || defined(__NetBSD__) return NO_ERROR; #else // HAVE_MACH_EXCEPTIONS #error not yet implemented |