summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--lib/system/ansi_c.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/system/ansi_c.nim b/lib/system/ansi_c.nim
index 2f3d56082..a8e358229 100644
--- a/lib/system/ansi_c.nim
+++ b/lib/system/ansi_c.nim
@@ -37,7 +37,8 @@ when defined(windows):
     SIGINT = cint(2)
     SIGSEGV = cint(11)
     SIGTERM = cint(15)
-elif defined(macosx) or defined(linux):
+elif defined(macosx) or defined(linux) or defined(freebsd) or
+     defined(openbsd) or defined(netbsd) or defined(solaris):
   const
     SIGABRT = cint(6)
     SIGFPE = cint(8)