Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Diff of /contrib/sockets/sockets.lisp [31cd2a] .. [6a761b] Maximize Restore

  Switch to side-by-side view

--- a/contrib/sockets/sockets.lisp
+++ b/contrib/sockets/sockets.lisp
@@ -42,7 +42,9 @@
  "#include <netinet/in.h>"
  "#include <errno.h>"
  "#include <fcntl.h>"
- "#include <stdio.h>")
+ "#include <stdio.h>"
+ #+:cygwin
+ "#define MSG_WAITALL 0")
 #+:wsock
 (clines
  "#include <winsock2.h>"
@@ -1260,10 +1262,10 @@
 (define-sockopt socket-dont-route "SO_DONTROUTE" bool)
 (define-sockopt socket-linger "SO_LINGER" bool)
 
-#-(or :linux :wsock)
+#-(or :linux :wsock :cygwin)
 (define-sockopt sockopt-reuse-port "SO_REUSEPORT" bool)
 
 ;; Add sockopts here as you need them...
 
 ;; Finished loading
-(provide 'sockets)+(provide 'sockets)