Merge pull request #2444 from yglukhov/doc-fix

Fixed doc generation on mac.
This commit is contained in:
Andreas Rumpf
2015-04-03 17:28:05 +02:00

View File

@@ -429,7 +429,7 @@ proc selectWrite*(writefds: var seq[SocketHandle],
pruneSocketSet(writefds, (wr))
# We ignore signal SIGPIPE on Darwin
when defined(macosx):
when defined(macosx) and not defined(nimdoc):
signal(SIGPIPE, SIG_IGN)
when defined(Windows):