From e0b7f434ebd29269a6fbc3baa7d29bd92610e0cd Mon Sep 17 00:00:00 2001 From: cheatfate Date: Thu, 16 Jun 2016 13:38:30 +0300 Subject: Enhance values SIGNALS on more OS. Checked systems OpenBSD, NetBSD, FreeBSD, Solaris. --- lib/system/ansi_c.nim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/system') 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) -- cgit 1.4.1-2-gfad0