windows fix compiler errors
This commit is contained in:
parent
20a55d3cc6
commit
88b2e96516
|
@ -26,6 +26,8 @@
|
||||||
#include <openssl/ssl.h>
|
#include <openssl/ssl.h>
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
|
#define strncasecmp _strnicmp
|
||||||
|
#define snprintf _snprintf
|
||||||
#ifdef _WIN64
|
#ifdef _WIN64
|
||||||
#define WS_SSIZE_T __int64
|
#define WS_SSIZE_T __int64
|
||||||
#elif _MSC_VER >= 1400
|
#elif _MSC_VER >= 1400
|
||||||
|
@ -33,7 +35,7 @@
|
||||||
#else
|
#else
|
||||||
#define WS_SSIZE_T __int32
|
#define WS_SSIZE_T __int32
|
||||||
#endif
|
#endif
|
||||||
typedef WS_SSIZE_T ssize_t
|
typedef WS_SSIZE_T ssize_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue