comparison src/os/unix/ngx_atomic.h @ 96:ca4f70b3ccc6 NGINX_0_2_2

nginx 0.2.2 *) Feature: the "config errmsg" command of the ngx_http_ssi_module. *) Change: the ngx_http_geo_module variables can be overridden by the "set" directive. *) Feature: the "ssl_protocols" and "ssl_prefer_server_ciphers" directives of the ngx_http_ssl_module and ngx_imap_ssl_module. *) Bugfix: the ngx_http_autoindex_module did not show correctly the long file names; *) Bugfix: the ngx_http_autoindex_module now do not show the files starting by dot. *) Bugfix: if the SSL handshake failed then another connection may be closed too. Thanks to Rob Mueller. *) Bugfix: the export versions of MSIE 5.x could not connect via HTTPS.
author Igor Sysoev <http://sysoev.ru>
date Fri, 30 Sep 2005 00:00:00 +0400
parents 77969b24f355
children d6800bbe720e
comparison
equal deleted inserted replaced
95:2f95911bc4b4 96:ca4f70b3ccc6
10 10
11 #include <ngx_config.h> 11 #include <ngx_config.h>
12 #include <ngx_core.h> 12 #include <ngx_core.h>
13 13
14 14
15 #if ( __i386__ ) 15 #if ( __i386__ || __i386 )
16 16
17 #define NGX_HAVE_ATOMIC_OPS 1 17 #define NGX_HAVE_ATOMIC_OPS 1
18 18
19 typedef int32_t ngx_atomic_int_t; 19 typedef int32_t ngx_atomic_int_t;
20 typedef uint32_t ngx_atomic_uint_t; 20 typedef uint32_t ngx_atomic_uint_t;
107 107
108 return res; 108 return res;
109 } 109 }
110 110
111 111
112 #elif ( __amd64__ ) 112 #elif ( __amd64__ || __amd64 )
113 113
114 #define NGX_HAVE_ATOMIC_OPS 1 114 #define NGX_HAVE_ATOMIC_OPS 1
115 115
116 typedef int64_t ngx_atomic_int_t; 116 typedef int64_t ngx_atomic_int_t;
117 typedef uint64_t ngx_atomic_uint_t; 117 typedef uint64_t ngx_atomic_uint_t;
181 181
182 return res; 182 return res;
183 } 183 }
184 184
185 185
186 #elif ( __sparc__ ) 186 #elif ( __sparc__ || __sparcv9 )
187 187
188 #define NGX_HAVE_ATOMIC_OPS 1 188 #define NGX_HAVE_ATOMIC_OPS 1
189 189
190 #if (NGX_PTR_SIZE == 8) 190 #if (NGX_PTR_SIZE == 8)
191 typedef int64_t ngx_atomic_int_t; 191 typedef int64_t ngx_atomic_int_t;