# HG changeset patch # User Maxim Dounin # Date 1322057226 0 # Node ID 13f108b9f3cfa7f6de3d3261160f7b0464cd8929 # Parent 3f6040cd731ec576b93261ba490d5e8fb210db3a Fixed build without atomic operations. diff --git a/src/core/ngx_shmtx.c b/src/core/ngx_shmtx.c --- 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