details:   http://hg.nginx.org/nginx/rev/e769cc88f996
branches:  
changeset: 6270:e769cc88f996
user:      Piotr Sikora <[email protected]>
date:      Fri Oct 23 18:21:33 2015 -0700
description:
Core: read/write locks are also required by the Stream module.

Signed-off-by: Piotr Sikora <[email protected]>

diffstat:

 src/core/ngx_rwlock.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 7ec809b579d7 -r e769cc88f996 src/core/ngx_rwlock.c
--- a/src/core/ngx_rwlock.c     Fri Oct 23 18:21:33 2015 -0700
+++ b/src/core/ngx_rwlock.c     Fri Oct 23 18:21:33 2015 -0700
@@ -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!
 

_______________________________________________
nginx-devel mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to