summaryrefslogtreecommitdiff
path: root/src/pal/src/exception/seh.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pal/src/exception/seh.cpp')
-rw-r--r--src/pal/src/exception/seh.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pal/src/exception/seh.cpp b/src/pal/src/exception/seh.cpp
index 3f15c82156..8c640a39c7 100644
--- a/src/pal/src/exception/seh.cpp
+++ b/src/pal/src/exception/seh.cpp
@@ -201,7 +201,7 @@ PAL_ERROR SEHEnable(CPalThread *pthrCurrent)
{
#if HAVE_MACH_EXCEPTIONS
return pthrCurrent->EnableMachExceptions();
-#elif __LINUX__ || defined(__FreeBSD__) || defined(__NetBSD__)
+#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;
@@ -230,7 +230,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__) || defined(__NetBSD__)
+#elif __linux__ || defined(__FreeBSD__) || defined(__NetBSD__)
return NO_ERROR;
#else // HAVE_MACH_EXCEPTIONS
#error not yet implemented