diff options
Diffstat (limited to 'src/os/win32/ngx_win32_config.h')
-rw-r--r-- | src/os/win32/ngx_win32_config.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/os/win32/ngx_win32_config.h b/src/os/win32/ngx_win32_config.h index cc3a06842..72e5c5e79 100644 --- a/src/os/win32/ngx_win32_config.h +++ b/src/os/win32/ngx_win32_config.h @@ -30,16 +30,28 @@ /* disable some "-W4" level warnings */ -#pragma warning(disable:4054) +/* disable warnings about some 'type cast */ #pragma warning(disable:4054) #pragma warning(disable:4055) + /* unreferenced formal parameter */ #pragma warning(disable:4100) + +/* conditional expression is constant */ #pragma warning(disable:4127) + +/* nonstandard extension used : bit field types other than int */ #pragma warning(disable:4214) + +/* unreachable code */ #pragma warning(disable:4702) + +/* assignment within conditional expression */ #pragma warning(disable:4706) +/* disable "function 'ngx_handle_write_event' not inlined" */ +#pragma warning(disable:4710) + #endif @@ -121,6 +133,9 @@ typedef uint32_t ngx_atomic_t; #endif +#define OFF_T_MAX_VALUE 9223372036854775807 + + /* STUB */ #define HAVE_LITTLE_ENDIAN 1 |