socklen_t should be supported in WIN32 :(

This commit is contained in:
vscosta 2016-04-08 01:17:05 -07:00
parent 6b4cc7f8ff
commit c3488eeaed
1 changed files with 4 additions and 1 deletions

View File

@ -68,7 +68,10 @@
#include <sys/param.h>
#endif
#endif
#ifdef _WIN32
//#include <ws2tcpip.h>
typedef int socklen_t;
#endif
/* make sure we can compile in any platform */
#ifndef AF_UNSPEC
#define AF_UNSPEC 0