From: Igor Sysoev Date: Wed, 14 Feb 2007 13:52:47 +0000 (+0000) Subject: fix building on platforms with non-supported atomic operations X-Git-Tag: release-0.5.13~13 X-Git-Url: http://git.kaiwu.me/sitemap.xml?a=commitdiff_plain;h=0ddd9d6e5ebe8cf3fddaf5f017992f0740dd7996;p=nginx.git fix building on platforms with non-supported atomic operations --- 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; }