diff options
author | Dominik Picheta <dominikpicheta@googlemail.com> | 2020-10-20 15:47:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-20 16:47:23 +0200 |
commit | 675cf5760f35c4c178bdef1fbcfd8b95e918cdb2 (patch) | |
tree | fe8ff44dc359901a9bf4280a9fff2cdc6aab4e8b /lib/system | |
parent | 877d5206162fcb491777c9d6cedf65810a3f421f (diff) | |
download | Nim-675cf5760f35c4c178bdef1fbcfd8b95e918cdb2.tar.gz |
Fixes compilation for --os:any + --exception:setjmp (#15626)
Diffstat (limited to 'lib/system')
-rw-r--r-- | lib/system/excpt.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/excpt.nim b/lib/system/excpt.nim index 1a7473a76..c189f116d 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: "<exception>".} = object |