changeset 1106:2c7fed12fab7

fix building on platforms with non-supported atomic operations
author Igor Sysoev <igor@sysoev.ru>
date Wed, 14 Feb 2007 13:52:47 +0000
parents 66dc91c02e3f
children db7c468c447d
files src/core/ngx_shmtx.h
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;
 }