comparison src/core/ngx_config.h @ 48:6cfc63e68377 NGINX_0_1_24

nginx 0.1.24 *) 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 <http://sysoev.ru>
date Fri, 04 Mar 2005 00:00:00 +0300
parents aab2ea7c0458
children 0d75d65c642f
comparison
equal deleted inserted replaced
47:4ae32548452c 48:6cfc63e68377
90 #define NGX_INT32_LEN sizeof("-2147483648") - 1 90 #define NGX_INT32_LEN sizeof("-2147483648") - 1
91 #define NGX_INT64_LEN sizeof("-9223372036854775808") - 1 91 #define NGX_INT64_LEN sizeof("-9223372036854775808") - 1
92 92
93 93
94 #if (NGX_SOLARIS) 94 #if (NGX_SOLARIS)
95 95 #define NGX_ALIGN (_MAX_ALIGNMENT - 1)
96 /* TODO: auto_conf */
97 #define NGX_ALIGN (_MAX_ALIGNMENT - 1) /* platform word */
98 #define NGX_ALIGN_CAST (unsigned long) /* size of the pointer */
99
100 #else 96 #else
101
102 /* TODO: auto_conf */ 97 /* TODO: auto_conf */
103 #define NGX_ALIGN (sizeof(unsigned long) - 1) /* platform word */ 98 #define NGX_ALIGN (sizeof(unsigned long) - 1) /* platform word */
104 #define NGX_ALIGN_CAST (unsigned long) /* size of the pointer */
105
106 #endif 99 #endif
107 100
108 #define ngx_align(p) (u_char *) ((NGX_ALIGN_CAST p + NGX_ALIGN) & ~NGX_ALIGN) 101 #define ngx_align(p) (u_char *) (((uintptr_t) p + NGX_ALIGN) & ~NGX_ALIGN)
109 102
110 103
111 /* TODO: auto_conf: ngx_inline inline __inline __inline__ */ 104 /* TODO: auto_conf: ngx_inline inline __inline __inline__ */
112 #ifndef ngx_inline 105 #ifndef ngx_inline
113 #define ngx_inline __inline 106 #define ngx_inline __inline