On Tue, 6 Jul 2010, Dmitry Teslenko wrote:
I've managed to compile libssh2 itself but stumbled upon compiling examples. Here's error log of msvc compiler for sftp.c example:
...
Am I missing some include/define?
Line 620 uses ssize_t which looks to be typedef'ed on line 82, but only if you have LIBSSH2_WIN32 defined... So yes, define that on the command line.
Can anyone see a reason why we need LIBSSH2_WIN32 _and_ _MSC_VER and not just the latter?
-- / daniel.haxx.se _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
