fix for todays ws.* changes

This commit is contained in:
Jeff Lenk 2013-09-17 23:23:11 -05:00
parent f42b17e807
commit b407732dcd
1 changed files with 2 additions and 8 deletions

View File

@ -13,6 +13,7 @@
#include <sys/socket.h>
#else
#pragma warning(disable:4996)
#include <config.h>
#endif
#include <string.h>
#include <unistd.h>
@ -26,14 +27,7 @@
#include <openssl/ssl.h>
#ifdef _MSC_VER
#ifdef _WIN64
#define WS_SSIZE_T __int64
#elif _MSC_VER >= 1400
#define WS_SSIZE_T __int32 __w64
#else
#define WS_SSIZE_T __int32
#endif
typedef WS_SSIZE_T ssize_t
typedef intptr_t ssize_t;
#endif