diff options
author | Igor Sysoev <igor@sysoev.ru> | 2007-02-14 13:52:47 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2007-02-14 13:52:47 +0000 |
commit | 0ddd9d6e5ebe8cf3fddaf5f017992f0740dd7996 (patch) | |
tree | a97a4d7b9c76cc3a6af12fe195ede72e92052374 | |
parent | e5234d3e05fb8114b0fc4397f46997265b9452d2 (diff) | |
download | nginx-0ddd9d6e5ebe8cf3fddaf5f017992f0740dd7996.tar.gz nginx-0ddd9d6e5ebe8cf3fddaf5f017992f0740dd7996.zip |
fix building on platforms with non-supported atomic operations
-rw-r--r-- | src/core/ngx_shmtx.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |