Solaris dont have MSG_NOSIGNAL
This commit is contained in:
parent
552b13efe4
commit
afc922942d
1 changed files with 4 additions and 0 deletions
|
|
@ -1621,6 +1621,10 @@ when defined(macosx):
|
|||
MSG_NOSIGNAL* = 0'i32
|
||||
var
|
||||
SO_NOSIGPIPE* {.importc, header: "<sys/socket.h>".}: cint
|
||||
elif defined(solaris):
|
||||
# Solaris dont have MSG_NOSIGNAL
|
||||
const
|
||||
MSG_NOSIGNAL* = 0'i32
|
||||
else:
|
||||
var
|
||||
MSG_NOSIGNAL* {.importc, header: "<sys/socket.h>".}: cint
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue