Fixes compilation for --os:any + --exception:setjmp (#15626)

This commit is contained in:
Dominik Picheta
2020-10-20 15:47:23 +01:00
committed by GitHub
parent 877d520616
commit 675cf5760f

View File

@@ -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: "<exception>".} = object