Neil Gierman provided improved Visual Studio 2008 code in bug #1946268

This commit is contained in:
Daniel Stenberg 2008-09-29 18:59:40 +00:00
parent 818e9edfb1
commit b4b8c51b32
2 changed files with 9 additions and 1 deletions

5
NEWS
View File

@ -1,7 +1,10 @@
Version 0.19 ( )
-------------------------------
- Bug #1862727 fixed libssh2_poll() to work on windows (by defining HAVE_SELECT).
- Neil Gierman provided improved Visual Studio 2008 code in bug #1946268
- Bug #1862727 fixed libssh2_poll() to work on windows (by defining
HAVE_SELECT).
- Based on bug #1815692, we introduce libssh2_sftp_seek2() that allows seeking
beyond the 2GB margin even on 32bit machines.

View File

@ -44,7 +44,12 @@ static inline int usleep(int udelay)
#ifdef _MSC_VER
#define snprintf _snprintf
#if _MSC_VER < 1500
#define vsnprintf _vsnprintf
#else
#define ssize_t SSIZE_T
#define uint32_t UINT32
#endif
#define strncasecmp _strnicmp
#define strcasecmp _stricmp
#else