on line 82 in libssh2.h, there is a #if clause like this,
#if defined(LIBSSH2_WIN32) && defined(_MSC_VER) && (_MSC_VER <= 1400)
when compile with vc++2010, which _MSC_VER is 1600, it throw lots error,
so i see and try modify the libssh2.h, change it last clause to _MSC_VER <=1600, it works fine.
is that the right method for resolving this problem?
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-05-04