diff src/core/ngx_shmtx.h @ 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 51d0884364fe
children e345fcf61a12
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;
 }