From: Maxim Dounin Date: Wed, 23 Nov 2011 14:07:06 +0000 (+0000) Subject: Fixed build without atomic operations. X-Git-Tag: release-1.1.9~6 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/postgres_fdw.c?a=commitdiff_plain;h=ddb7cd1c410a7166d8e28092d714f782ed1d69b3;p=nginx.git Fixed build without atomic operations. --- 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