summary refs log tree commit diff stats
path: root/lib/system
diff options
context:
space:
mode:
authorcheatfate <ka@hardcore.kiev.ua>2016-06-16 13:38:30 +0300
committercheatfate <ka@hardcore.kiev.ua>2016-06-16 13:38:30 +0300
commite0b7f434ebd29269a6fbc3baa7d29bd92610e0cd (patch)
treea5c558e75342ed1cea0b486db012df6ba5d65258 /lib/system
parent500aa0cb3f17d28071a9be74047f5600e1a4f6df (diff)
downloadNim-e0b7f434ebd29269a6fbc3baa7d29bd92610e0cd.tar.gz
Enhance values SIGNALS on more OS.
Checked systems OpenBSD, NetBSD, FreeBSD, Solaris.
Diffstat (limited to 'lib/system')
-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)