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:
-rw-r--r--src/core/ngx_rwlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_rwlock.c b/src/core/ngx_rwlock.c
index 1404c6edf..905de780a 100644
--- a/src/core/ngx_rwlock.c
+++ b/src/core/ngx_rwlock.c
@@ -111,7 +111,7 @@ ngx_rwlock_unlock(ngx_atomic_t *lock)
#else
-#if (NGX_HTTP_UPSTREAM_ZONE)
+#if (NGX_HTTP_UPSTREAM_ZONE || NGX_STREAM_UPSTREAM_ZONE)
#error ngx_atomic_cmp_set() is not defined!