diff options
author | cheatfate <ka@hardcore.kiev.ua> | 2016-06-16 13:38:30 +0300 |
---|---|---|
committer | cheatfate <ka@hardcore.kiev.ua> | 2016-06-16 13:38:30 +0300 |
commit | e0b7f434ebd29269a6fbc3baa7d29bd92610e0cd (patch) | |
tree | a5c558e75342ed1cea0b486db012df6ba5d65258 /lib/system | |
parent | 500aa0cb3f17d28071a9be74047f5600e1a4f6df (diff) | |
download | Nim-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.nim | 3 |
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) |