Mercurial > hg > nginx
comparison src/os/win32/ngx_win32_config.h @ 4219:691133126226
Fixing conflict with SDK off_t definition.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 20 Oct 2011 07:12:45 +0000 |
parents | a10354495767 |
children | 1b779cb69dc8 |
comparison
equal
deleted
inserted
replaced
4218:a10354495767 | 4219:691133126226 |
---|---|
124 typedef __int64 int64_t; | 124 typedef __int64 int64_t; |
125 typedef unsigned __int64 uint64_t; | 125 typedef unsigned __int64 uint64_t; |
126 typedef int intptr_t; | 126 typedef int intptr_t; |
127 typedef u_int uintptr_t; | 127 typedef u_int uintptr_t; |
128 | 128 |
129 /* Windows defines off_t as long, which is 32-bit */ | |
130 typedef __int64 off_t; | |
131 #define _OFF_T_DEFINED | |
132 | |
129 typedef int ssize_t; | 133 typedef int ssize_t; |
130 typedef __int64 off_t; | |
131 typedef uint32_t in_addr_t; | 134 typedef uint32_t in_addr_t; |
132 typedef u_short in_port_t; | 135 typedef u_short in_port_t; |
133 typedef int sig_atomic_t; | 136 typedef int sig_atomic_t; |
134 | 137 |
135 | 138 |