]> git.kaiwu.me - nginx.git/commitdiff
Core: read/write locks are also required by the Stream module.
authorPiotr Sikora <piotrsikora@google.com>
Sat, 24 Oct 2015 01:21:33 +0000 (18:21 -0700)
committerPiotr Sikora <piotrsikora@google.com>
Sat, 24 Oct 2015 01:21:33 +0000 (18:21 -0700)
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
src/core/ngx_rwlock.c

index 1404c6edf0e78c83586525cf3ff8afa457b13b08..905de780a876e62741e60946f883c67671cf08be 100644 (file)
@@ -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!