diff options
author | Andre <andre.kaufmann@honeyway.de> | 2014-12-30 23:39:43 +0100 |
---|---|---|
committer | Andre <andre.kaufmann@honeyway.de> | 2014-12-30 23:39:43 +0100 |
commit | 85c22f334832cc7cf5e2b01a23eb1c1b63189cfe (patch) | |
tree | b05cb4c928422db83f83bccfd4be6471654f6f7c /lib/posix | |
parent | ccc2f4746c30a8f5403e1f1f3f18ccd9029b6be8 (diff) | |
download | Nim-85c22f334832cc7cf5e2b01a23eb1c1b63189cfe.tar.gz |
ignore signal SIGPIPE on Darwin
Diffstat (limited to 'lib/posix')
-rw-r--r-- | lib/posix/posix.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/posix/posix.nim b/lib/posix/posix.nim index deb120372..0498a0e70 100644 --- a/lib/posix/posix.nim +++ b/lib/posix/posix.nim @@ -1570,9 +1570,9 @@ else: when defined(macosx): + # We can't use the NOSIGNAL flag in the ``send`` function, it has no effect var - MSG_HAVEMORE* {.importc, header: "<sys/socket.h>".}: cint - MSG_NOSIGNAL* = MSG_HAVEMORE + MSG_NOSIGNAL* = 0'i32 else: var MSG_NOSIGNAL* {.importc, header: "<sys/socket.h>".}: cint |