Fixing conflict with SDK off_t definition.

This commit is contained in:
Igor Sysoev 2011-10-20 07:12:45 +00:00
parent 1472e7964b
commit 5f81070523

View File

@ -126,8 +126,11 @@ typedef unsigned __int64 uint64_t;
typedef int intptr_t;
typedef u_int uintptr_t;
typedef int ssize_t;
/* Windows defines off_t as long, which is 32-bit */
typedef __int64 off_t;
#define _OFF_T_DEFINED
typedef int ssize_t;
typedef uint32_t in_addr_t;
typedef u_short in_port_t;
typedef int sig_atomic_t;