From 0ddd9d6e5ebe8cf3fddaf5f017992f0740dd7996 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Wed, 14 Feb 2007 13:52:47 +0000 Subject: [PATCH] fix building on platforms with non-supported atomic operations --- src/core/ngx_shmtx.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/ngx_shmtx.h b/src/core/ngx_shmtx.h index 7d4c09e3d..e6fb6aa31 100644 --- a/src/core/ngx_shmtx.h +++ b/src/core/ngx_shmtx.h @@ -58,6 +58,8 @@ ngx_shmtx_trylock(ngx_shmtx_t *mtx) } ngx_log_abort(err, ngx_trylock_fd_n " failed"); + + return 0; }