Fixes compilation for --os:any + --exception:setjmp (#15626)
This commit is contained in:
parent
877d520616
commit
675cf5760f
1 changed files with 1 additions and 1 deletions
|
|
@ -554,7 +554,7 @@ proc nimFrame(s: PFrame) {.compilerRtl, inl, raises: [].} =
|
||||||
|
|
||||||
when defined(cpp) and appType != "lib" and not gotoBasedExceptions and
|
when defined(cpp) and appType != "lib" and not gotoBasedExceptions and
|
||||||
not defined(js) and not defined(nimscript) 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
|
type
|
||||||
StdException {.importcpp: "std::exception", header: "<exception>".} = object
|
StdException {.importcpp: "std::exception", header: "<exception>".} = object
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue