diff options
author | Piotr Sikora <piotrsikora@google.com> | 2015-10-24 04:21:33 +0300 |
---|---|---|
committer | Piotr Sikora <piotrsikora@google.com> | 2015-10-24 04:21:33 +0300 |
commit | 79a03b3ff6d950e60a06c6d979bd7a909709e82d (patch) | |
tree | 86cc1ec026ae4ccb180c8573c70806d87c5a6589 /src/core/ngx_rwlock.c | |
parent | 33cd01ed5715bb3922033203125d3de46fba19f2 (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.c | 2 |
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! |