Add definition of in_addr_t for Windows build

This commit is contained in:
kinichiro 2017-05-07 02:23:55 +09:00
parent 63042e98f8
commit 530fbba1ed

View File

@ -20,12 +20,14 @@
#ifdef __MINGW32__
#include <_bsd_types.h>
typedef uint32_t in_addr_t;
#endif
#ifdef _MSC_VER
typedef unsigned char u_char;
typedef unsigned short u_short;
typedef unsigned int u_int;
typedef uint32_t in_addr_t;
#include <basetsd.h>
typedef SSIZE_T ssize_t;