mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-02-24 07:40:40 -08:00
Make it compile under cygwin.
This commit is contained in:
parent
986198842f
commit
29706f33ca
1 changed files with 5 additions and 3 deletions
|
|
@ -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 @@ 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)
|
||||
(provide 'sockets)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue