socklen_t should be supported in WIN32 :(
This commit is contained in:
parent
6b4cc7f8ff
commit
c3488eeaed
@ -68,7 +68,10 @@
|
|||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef _WIN32
|
||||||
|
//#include <ws2tcpip.h>
|
||||||
|
typedef int socklen_t;
|
||||||
|
#endif
|
||||||
/* make sure we can compile in any platform */
|
/* make sure we can compile in any platform */
|
||||||
#ifndef AF_UNSPEC
|
#ifndef AF_UNSPEC
|
||||||
#define AF_UNSPEC 0
|
#define AF_UNSPEC 0
|
||||||
|
Reference in New Issue
Block a user