aboutsummaryrefslogtreecommitdiff
path: root/system/lib/libcxxabi/src
diff options
context:
space:
mode:
Diffstat (limited to 'system/lib/libcxxabi/src')
-rw-r--r--system/lib/libcxxabi/src/exception.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/lib/libcxxabi/src/exception.cpp b/system/lib/libcxxabi/src/exception.cpp
index c47a9b76..c69db02d 100644
--- a/system/lib/libcxxabi/src/exception.cpp
+++ b/system/lib/libcxxabi/src/exception.cpp
@@ -25,6 +25,7 @@ const char* exception::what() const _NOEXCEPT
return "std::exception";
}
+#ifndef __EMSCRIPTEN__
// bad_exception
bad_exception::~bad_exception() _NOEXCEPT
@@ -35,6 +36,7 @@ const char* bad_exception::what() const _NOEXCEPT
{
return "std::bad_exception";
}
+#endif
} // std