# HG changeset patch # User Igor Sysoev # Date 1171461167 0 # Node ID 2c7fed12fab7dbc412866f44105adf0f0876d7ef # Parent 66dc91c02e3f138a05246e6fe167c0d4a3a00154 fix building on platforms with non-supported atomic operations diff --git a/src/core/ngx_shmtx.h b/src/core/ngx_shmtx.h --- 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; }