1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-08-07 08:02:56 +03:00

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:
Wez Furlong
2005-01-03 22:46:15 +00:00
parent 8fe47a609a
commit dc4bb1af96
15 changed files with 226 additions and 36 deletions

View File

@@ -43,14 +43,16 @@
#include <sys/stat.h>
#ifdef LIBSSH2_WIN32
#ifdef LIBSSH2_LIBRARY
#define LIBSSH2_API __declspec(dllexport)
# ifdef LIBSSH2_LIBRARY
# define LIBSSH2_API __declspec(dllexport)
# else
# define LIBSSH2_API __declspec(dllimport)
# endif
# ifndef _MSC_VER
# include <sys/uio.h>
# endif
#else
#define LIBSSH2_API __declspec(dllimport)
#endif
#include <sys/uio.h>
#else
#define LIBSSH2_API
# define LIBSSH2_API
#endif
#define LIBSSH2_VERSION "0.4"