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

cleaned up MSVC ifdefs which where spreaded over 3 places.

This commit is contained in:
Guenter Knauf
2010-06-01 19:32:11 +02:00
parent aad74b7fa6
commit 86c935317c
3 changed files with 11 additions and 16 deletions

View File

@@ -19,12 +19,12 @@
#define HAVE_SELECT
#ifdef _MSC_VER
#ifndef _CRT_SECURE_NO_DEPRECATE
#define _CRT_SECURE_NO_DEPRECATE 1
#endif /* _CRT_SECURE_NO_DEPRECATE */
#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
@@ -41,4 +41,3 @@
#endif /* LIBSSH2_CONFIG_H */