aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_rwlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_rwlock.c')
-rw-r--r--src/core/ngx_rwlock.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/ngx_rwlock.c b/src/core/ngx_rwlock.c
index 066c67de8..1404c6edf 100644
--- a/src/core/ngx_rwlock.c
+++ b/src/core/ngx_rwlock.c
@@ -109,4 +109,12 @@ ngx_rwlock_unlock(ngx_atomic_t *lock)
}
+#else
+
+#if (NGX_HTTP_UPSTREAM_ZONE)
+
+#error ngx_atomic_cmp_set() is not defined!
+
+#endif
+
#endif