summary refs log tree commit diff stats
path: root/lib/system/fatal.nim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/system/fatal.nim')
-rw-r--r--lib/system/fatal.nim5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/system/fatal.nim b/lib/system/fatal.nim
index a55af2dc3..6073ee779 100644
--- a/lib/system/fatal.nim
+++ b/lib/system/fatal.nim
@@ -9,10 +9,7 @@
 
 {.push profiler: off.}
 
-when defined(nimHasExceptionsQuery):
-  const gotoBasedExceptions = compileOption("exceptions", "goto")
-else:
-  const gotoBasedExceptions = false
+const gotoBasedExceptions = compileOption("exceptions", "goto")
 
 when hostOS == "standalone":
   include "$projectpath/panicoverride"