Add compat bits for libtls on Windows
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#ifdef __MINGW32__
|
||||
#include <_bsd_types.h>
|
||||
typedef uint32_t in_addr_t;
|
||||
typedef uint32_t uid_t;
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
@@ -29,6 +30,7 @@ typedef unsigned short u_short;
|
||||
typedef unsigned int u_int;
|
||||
typedef uint32_t in_addr_t;
|
||||
typedef uint32_t mode_t;
|
||||
typedef uint32_t uid_t;
|
||||
|
||||
#include <basetsd.h>
|
||||
typedef SSIZE_T ssize_t;
|
||||
|
Reference in New Issue
Block a user