| commit | ddb7cd1c410a7166d8e28092d714f782ed1d69b3 | [log] [tgz] |
|---|---|---|
| author | Maxim Dounin <mdounin@mdounin.ru> | Wed Nov 23 14:07:06 2011 +0000 |
| committer | Maxim Dounin <mdounin@mdounin.ru> | Wed Nov 23 14:07:06 2011 +0000 |
| tree | 992a547e782ae1452f80a776687ed510f14e3825 | |
| parent | 91ecc8f43c42c677cd7b2230a68f19b64b649ba5 [diff] |
Fixed build without atomic operations.
diff --git a/src/core/ngx_shmtx.c b/src/core/ngx_shmtx.c index 5a9242d..3414868 100644 --- a/src/core/ngx_shmtx.c +++ b/src/core/ngx_shmtx.c
@@ -299,10 +299,10 @@ } -void +ngx_uint_t ngx_shmtx_force_unlock(ngx_shmtx_t *mtx, ngx_pid_t pid) { - /* void */ + return 0; } #endif