Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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