Subject: Re: libssh2 does not compile with MSYS/MinGW

Re: libssh2 does not compile with MSYS/MinGW

From: Sisyphus <sisyphus1_at_optusnet.com.au>
Date: Sun, 5 Jun 2011 12:52:33 +1000

----- Original Message -----
From: "Vincent Torri"

> Indeed, WinSock2.h is included only with vc++.

No - winsock2.h is included with mingw, too.

> To fix that, line 90 must be
> replaced by
>
> #ifdef _WIN32

That would be line 90 of include/libssh2.h which I also had to similarly
alter ? (I #ifdef'd WIN32 rather than _WIN32, but I don't think that
matters.)

Cheers,
Rob

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2011-06-05