Mercurial > hg > nginx
comparison src/os/win32/ngx_win32_config.h @ 5262:626f288fa5ed
Make macros safe.
author | Gleb Smirnoff <glebius@nginx.com> |
---|---|
date | Fri, 05 Jul 2013 11:42:25 +0400 |
parents | 7956af6b6a02 |
children | 670ceaba03d8 |
comparison
equal
deleted
inserted
replaced
5261:af60a210cb78 | 5262:626f288fa5ed |
---|---|
140 typedef u_short in_port_t; | 140 typedef u_short in_port_t; |
141 typedef int sig_atomic_t; | 141 typedef int sig_atomic_t; |
142 | 142 |
143 | 143 |
144 #define NGX_PTR_SIZE 4 | 144 #define NGX_PTR_SIZE 4 |
145 #define NGX_SIZE_T_LEN sizeof("-2147483648") - 1 | 145 #define NGX_SIZE_T_LEN (sizeof("-2147483648") - 1) |
146 #define NGX_MAX_SIZE_T_VALUE 2147483647 | 146 #define NGX_MAX_SIZE_T_VALUE 2147483647 |
147 #define NGX_TIME_T_LEN sizeof("-2147483648") - 1 | 147 #define NGX_TIME_T_LEN (sizeof("-2147483648") - 1) |
148 #define NGX_TIME_T_SIZE 4 | 148 #define NGX_TIME_T_SIZE 4 |
149 #define NGX_OFF_T_LEN sizeof("-9223372036854775807") - 1 | 149 #define NGX_OFF_T_LEN (sizeof("-9223372036854775807") - 1) |
150 #define NGX_MAX_OFF_T_VALUE 9223372036854775807 | 150 #define NGX_MAX_OFF_T_VALUE 9223372036854775807 |
151 #define NGX_SIG_ATOMIC_T_SIZE 4 | 151 #define NGX_SIG_ATOMIC_T_SIZE 4 |
152 | 152 |
153 | 153 |
154 #define NGX_HAVE_LITTLE_ENDIAN 1 | 154 #define NGX_HAVE_LITTLE_ENDIAN 1 |