summary refs log tree commit diff stats
path: root/lib/system
diff options
context:
space:
mode:
authorDominik Picheta <dominikpicheta@googlemail.com>2020-10-20 15:47:23 +0100
committerGitHub <noreply@github.com>2020-10-20 16:47:23 +0200
commit675cf5760f35c4c178bdef1fbcfd8b95e918cdb2 (patch)
treefe8ff44dc359901a9bf4280a9fff2cdc6aab4e8b /lib/system
parent877d5206162fcb491777c9d6cedf65810a3f421f (diff)
downloadNim-675cf5760f35c4c178bdef1fbcfd8b95e918cdb2.tar.gz
Fixes compilation for --os:any + --exception:setjmp (#15626)
Diffstat (limited to 'lib/system')
-rw-r--r--lib/system/excpt.nim2
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