[usocket-devel] ECL and MSVC

Seth Burleigh seth at tewebs.com
Sun Dec 27 00:45:53 UTC 2009


When using ecl that has been built with msvc, the code in sbcl.lisp

 

  #-:wsock

  (ffi:clines

   "#include <errno.h>"

   "#include <sys/socket.h>")

  #+:wsock

  (ffi:clines

   "#ifndef FD_SETSIZE"

   "#define FD_SETSIZE 1024"

   "#endif"

   "#include <winsock2.h>")

 

  (ffi:clines

   "#include <sys/time.h>"

   "#include <ecl/ecl-inl.h>"

)

 

Doesn't build because sys/time is not available in msvc. What header should
I include instead?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/usocket-devel/attachments/20091226/7f3d0c20/attachment.html>


More information about the usocket-devel mailing list