summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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