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

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

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