add back SIG_IGN, SIG_DFL and friends to posix.nim (#5820)

* add back SIG_IGN, SIG_DFL and friends to posix.nim

accidentally wiped by ce86b4ad78

* move deprecated sig_hold after consts include
This commit is contained in:
Jacek Sieka 2017-05-16 20:45:10 +08:00 • committed by Dominik Picheta
commit 797301ace8
5 changed files with 27 additions and 2 deletions

View file

@ -36,6 +36,9 @@ type
{.deprecated: [TSocketHandle: SocketHandle].}
# not detected by detect.nim, guarded by #ifdef __USE_UNIX98 in glibc
const SIG_HOLD* = cast[SigHandler](2)
type
Timespec* {.importc: "struct timespec",
header: "<time.h>", final, pure.} = object ## struct timespec