changeset 4310:13f108b9f3cf

Fixed build without atomic operations.
author Maxim Dounin <mdounin@mdounin.ru>
date Wed, 23 Nov 2011 14:07:06 +0000
parents 3f6040cd731e
children 45272aab5eea
files src/core/ngx_shmtx.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/core/ngx_shmtx.c
+++ b/src/core/ngx_shmtx.c
@@ -299,10 +299,10 @@ ngx_shmtx_unlock(ngx_shmtx_t *mtx)
 }
 
 
-void
+ngx_uint_t
 ngx_shmtx_force_unlock(ngx_shmtx_t *mtx, ngx_pid_t pid)
 {
-    /* void */
+    return 0;
 }
 
 #endif