Add support for win32.
Edit win32/config.mk to set the paths to your openssl and zlib headers and libraries. Then, from the root of the tree: nmake -f NMakefile voila.
This commit is contained in:
		| @@ -42,7 +42,9 @@ | ||||
| #include "libssh2_config.h" | ||||
| #include "libssh2.h" | ||||
|  | ||||
| #ifndef WIN32 | ||||
| #include <sys/socket.h> | ||||
| #endif | ||||
| #include <openssl/evp.h> | ||||
|  | ||||
| #define LIBSSH2_ALLOC(session, count)								session->alloc((count), &(session)->abstract) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Wez Furlong
					Wez Furlong