From 29706f33cae7a296cc42cc169757c1ee2bff67be Mon Sep 17 00:00:00 2001 From: goffioul Date: Tue, 17 May 2005 13:04:41 +0000 Subject: [PATCH] Make it compile under cygwin. --- contrib/sockets/sockets.lisp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/contrib/sockets/sockets.lisp b/contrib/sockets/sockets.lisp index 526d1d737..be71ed8e9 100644 --- a/contrib/sockets/sockets.lisp +++ b/contrib/sockets/sockets.lisp @@ -42,7 +42,9 @@ "#include " "#include " "#include " - "#include ") + "#include " + #+:cygwin + "#define MSG_WAITALL 0") #+:wsock (clines "#include " @@ -1260,10 +1262,10 @@ GET-NAME-SERVICE-ERRNO") (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) \ No newline at end of file +(provide 'sockets)