On Mon, 31 Oct 2011, Vincent Torri wrote:

Btw, it's just a warning. Also, you ido nclude windows.h:

in libssh2_priv.h (line  47):

#include <windows.h>

You're right of course and I stand corrected...

so a fix would be (line 47):

#ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN
#endif
#include <windows.h>
#undef WIN32_LEAN_AND_MEAN

And this silences the warning nicely I presume?

--

 / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to