summary refs log tree commit diff stats
path: root/lib/pure/rawsockets.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2015-06-29 15:10:29 +0200
committerAraq <rumpf_a@web.de>2015-06-29 15:10:29 +0200
commitc16d153ff53732331e7a017a29fc13ccb681a402 (patch)
tree126fe328f2caff0fe39b3dea0c2e237588aa8bc5 /lib/pure/rawsockets.nim
parent63c537b233c1e7148b80c0bfc4e667b95117dc5a (diff)
downloadNim-c16d153ff53732331e7a017a29fc13ccb681a402.tar.gz
fixes #3005
Diffstat (limited to 'lib/pure/rawsockets.nim')
-rw-r--r--lib/pure/rawsockets.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/rawsockets.nim b/lib/pure/rawsockets.nim
index bd22af2d1..d0e3b4cf1 100644
--- a/lib/pure/rawsockets.nim
+++ b/lib/pure/rawsockets.nim
@@ -41,7 +41,7 @@ export
   SO_KEEPALIVE, SO_OOBINLINE, SO_REUSEADDR,
   MSG_PEEK
 
-when defined(macosx):
+when defined(macosx) and not defined(nimdoc):
     export SO_NOSIGPIPE
 
 type