aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2011-11-23 14:07:06 +0000
committerMaxim Dounin <mdounin@mdounin.ru>2011-11-23 14:07:06 +0000
commitddb7cd1c410a7166d8e28092d714f782ed1d69b3 (patch)
tree992a547e782ae1452f80a776687ed510f14e3825 /src
parent91ecc8f43c42c677cd7b2230a68f19b64b649ba5 (diff)
downloadnginx-ddb7cd1c410a7166d8e28092d714f782ed1d69b3.tar.gz
nginx-ddb7cd1c410a7166d8e28092d714f782ed1d69b3.zip
Fixed build without atomic operations.
Diffstat (limited to 'src')
-rw-r--r--src/core/ngx_shmtx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ngx_shmtx.c b/src/core/ngx_shmtx.c
index 5a9242dfe..34148684f 100644
--- 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