Author: mdounin
Date: 2011-11-23 14:07:06 +0000 (Wed, 23 Nov 2011)
New Revision: 4311
Log:
Fixed build without atomic operations.
Modified:
trunk/src/core/ngx_shmtx.c
Modified: trunk/src/core/ngx_shmtx.c
===================================================================
--- trunk/src/core/ngx_shmtx.c 2011-11-23 13:55:38 UTC (rev 4310)
+++ trunk/src/core/ngx_shmtx.c 2011-11-23 14:07:06 UTC (rev 4311)
@@ -299,10 +299,10 @@
}
-void
+ngx_uint_t
ngx_shmtx_force_unlock(ngx_shmtx_t *mtx, ngx_pid_t pid)
{
- /* void */
+ return 0;
}
#endif
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel