comparison src/os/win32/ngx_win32_config.h @ 499:64d9afb209da release-0.1.24

nginx-0.1.24-RELEASE import *) Feature: the ngx_http_ssi_filter_module supports the QUERY_STRING and DOCUMENT_URI variables. *) Bugfix: the ngx_http_autoindex_module may some times return the 404 response for existent directory, if this directory was used in "alias" directive. *) Bugfix: the ngx_http_ssi_filter_module ran incorrectly for large responses. *) Bugfix: the lack of the "Referer" header line was always accounted as valid referrer.
author Igor Sysoev <igor@sysoev.ru>
date Fri, 04 Mar 2005 14:06:57 +0000
parents 975f62e77f02
children d4ea69372b94
comparison
equal deleted inserted replaced
498:58fcf570b0cb 499:64d9afb209da
38 #pragma warning(default:4201) 38 #pragma warning(default:4201)
39 39
40 40
41 /* disable some "-W4" level warnings */ 41 /* disable some "-W4" level warnings */
42 42
43 /* disable warnings about some 'type cast */ 43 /* 'type cast': from function pointer to data pointer */
44 #pragma warning(disable:4054) 44 #pragma warning(disable:4054)
45
46 /* 'type cast': from data pointer to function pointer */
45 #pragma warning(disable:4055) 47 #pragma warning(disable:4055)
46 48
47 /* unreferenced formal parameter */ 49 /* unreferenced formal parameter */
48 #pragma warning(disable:4100) 50 #pragma warning(disable:4100)
49 51
54 #pragma warning(disable:4702) 56 #pragma warning(disable:4702)
55 57
56 /* assignment within conditional expression */ 58 /* assignment within conditional expression */
57 #pragma warning(disable:4706) 59 #pragma warning(disable:4706)
58 60
59 /* disable "function 'ngx_handle_write_event' not inlined" */ 61 /* function 'ngx_handle_write_event' not inlined */
60 #pragma warning(disable:4710) 62 #pragma warning(disable:4710)
61 63
62 #endif 64 #endif
63 65
64 66
65 #ifdef __WATCOMC__ 67 #ifdef __WATCOMC__
68
66 /* unreachable code */ 69 /* unreachable code */
67 #pragma disable_message(201) 70 #pragma disable_message(201)
68 /* disable "Symbol 'ngx_rbtree_min' has been defined, but not referenced" */ 71
72 /* symbol 'ngx_rbtree_min' has been defined, but not referenced */
69 #pragma disable_message(202) 73 #pragma disable_message(202)
74
70 #endif 75 #endif
71 76
72 77
73 #ifdef __BORLANDC__ 78 #ifdef __BORLANDC__
79
74 /* the end of the precompiled headers */ 80 /* the end of the precompiled headers */
75 #pragma hdrstop 81 #pragma hdrstop
76 82
83 /*
84 * 'fd' is assigned a value that is never used in function ngx_event_init_conf
85 */
86 #pragma warn -8004
87
88 /* condition is always false */
89 #pragma warn -8008
90
91 /* functions containing (for|while|some if) are not expanded inline */
77 #pragma warn -8027 92 #pragma warn -8027
93
94 /* unreferenced formal parameter */
78 #pragma warn -8057 95 #pragma warn -8057
96
97 /* assignment within conditional expression */
79 #pragma warn -8060 98 #pragma warn -8060
80 99
81 /* STUB */ 100 /* unreachable code */
82 #pragma warn -8004
83 #pragma warn -8008
84 #pragma warn -8065
85 #pragma warn -8066 101 #pragma warn -8066
86 #pragma warn -8075 102
87 #endif 103 #endif
88 104
89 105
90 #include <ngx_auto_config.h> 106 #include <ngx_auto_config.h>
91 107
94 110
95 111
96 #ifdef _MSC_VER 112 #ifdef _MSC_VER
97 typedef unsigned __int32 uint32_t; 113 typedef unsigned __int32 uint32_t;
98 typedef __int32 int32_t; 114 typedef __int32 int32_t;
99 #else /* __WATCOMC__ */ 115
116 #else /* __WATCOMC__ and __BORLANDC__ */
100 typedef unsigned int uint32_t; 117 typedef unsigned int uint32_t;
101 typedef int int32_t; 118 typedef int int32_t;
102 #endif 119 #endif
103 120
104 typedef __int64 int64_t; 121 typedef __int64 int64_t;