From 675cf5760f35c4c178bdef1fbcfd8b95e918cdb2 Mon Sep 17 00:00:00 2001 From: Dominik Picheta Date: Tue, 20 Oct 2020 15:47:23 +0100 Subject: [PATCH] Fixes compilation for --os:any + --exception:setjmp (#15626) --- lib/system/excpt.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/system/excpt.nim b/lib/system/excpt.nim index 1a7473a76e..c189f116d7 100644 --- a/lib/system/excpt.nim +++ b/lib/system/excpt.nim @@ -554,7 +554,7 @@ proc nimFrame(s: PFrame) {.compilerRtl, inl, raises: [].} = when defined(cpp) and appType != "lib" and not gotoBasedExceptions and not defined(js) and not defined(nimscript) and - hostOS != "standalone" and not defined(noCppExceptions): + hostOS != "standalone" and hostOS != "any" and not defined(noCppExceptions): type StdException {.importcpp: "std::exception", header: "".} = object