Merge pull request #4348 from cheatfate/ansiSignals
Resolve bug with ansi_c.nim signals declaration
This commit is contained in:
commit
b9865e8ad0
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue