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:
authorPiotr Sikora <piotrsikora@google.com>2015-10-24 04:21:33 +0300
committerPiotr Sikora <piotrsikora@google.com>2015-10-24 04:21:33 +0300
commit79a03b3ff6d950e60a06c6d979bd7a909709e82d (patch)
tree86cc1ec026ae4ccb180c8573c70806d87c5a6589 /src/core/ngx_rwlock.c
parent33cd01ed5715bb3922033203125d3de46fba19f2 (diff)
Core: read/write locks are also required by the Stream module.
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
Diffstat (limited to 'src/core/ngx_rwlock.c')
-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!