aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_atomic.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2005-09-30 14:41:25 +0000
committerIgor Sysoev <igor@sysoev.ru>2005-09-30 14:41:25 +0000
commit9fa5a823c467c8ba13f8edff3c7d3c6dc75ea1d4 (patch)
tree7db278ad5da26db878ba05453ac96404fa2df556 /src/os/unix/ngx_atomic.h
parentbdf4a89a20b9b2cb91c7c97941a2cb36534e2f9d (diff)
downloadnginx-9fa5a823c467c8ba13f8edff3c7d3c6dc75ea1d4.tar.gz
nginx-9fa5a823c467c8ba13f8edff3c7d3c6dc75ea1d4.zip
nginx-0.2.2-RELEASE importrelease-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.
Diffstat (limited to 'src/os/unix/ngx_atomic.h')
-rw-r--r--src/os/unix/ngx_atomic.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/os/unix/ngx_atomic.h b/src/os/unix/ngx_atomic.h
index 746a71515..9710855aa 100644
--- a/src/os/unix/ngx_atomic.h
+++ b/src/os/unix/ngx_atomic.h
@@ -12,7 +12,7 @@
#include <ngx_core.h>
-#if ( __i386__ )
+#if ( __i386__ || __i386 )
#define NGX_HAVE_ATOMIC_OPS 1
@@ -109,7 +109,7 @@ ngx_atomic_cmp_set(ngx_atomic_t *lock, ngx_atomic_uint_t old,
}
-#elif ( __amd64__ )
+#elif ( __amd64__ || __amd64 )
#define NGX_HAVE_ATOMIC_OPS 1
@@ -183,7 +183,7 @@ ngx_atomic_cmp_set(ngx_atomic_t *lock, ngx_atomic_uint_t old,
}
-#elif ( __sparc__ )
+#elif ( __sparc__ || __sparcv9 )
#define NGX_HAVE_ATOMIC_OPS 1