Enhance values SIGNALS on more OS.

Checked systems OpenBSD, NetBSD, FreeBSD, Solaris.
This commit is contained in:
cheatfate 2016-06-16 13:38:30 +03:00
commit e0b7f434eb

View file

@ -37,7 +37,8 @@ when defined(windows):
SIGINT = cint(2) SIGINT = cint(2)
SIGSEGV = cint(11) SIGSEGV = cint(11)
SIGTERM = cint(15) 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 const
SIGABRT = cint(6) SIGABRT = cint(6)
SIGFPE = cint(8) SIGFPE = cint(8)