[Ecls-list] winsock.h or winsock2.h

Anton Vodonosov avodonosov at yandex.ru
Sun Aug 24 21:15:09 UTC 2008


Hello.

When I compile usocket library with the fresh
ECL (Windows, MSVC), the C compiler complains
about struct redefinition and function linkage
conflicts.

When I change #include <winsock2.h> to
#include <winsock.h> in this file:
http://common-lisp.net/websvn/filedetails.php?repname=usocket&path=%2Fusocket%2Ftrunk%2Fbackend%2Fsbcl.lisp&rev=423&sc=0
the library compiles OK.

Juan, is that correct to use winsock.h with ECL's
sockets module? (I am going to report this to
usocket maintainers).

Best regards,
-Anton





More information about the ecl-devel mailing list