[nginx] Configure: fixed test of OS X atomic(3).

Ruslan Ermilov ru at nginx.com
Thu May 23 08:11:38 UTC 2013


details:   http://hg.nginx.org/nginx/rev/09d7faaef16f
branches:  
changeset: 5224:09d7faaef16f
user:      Ruslan Ermilov <ru at nginx.com>
date:      Thu May 23 10:23:21 2013 +0400
description:
Configure: fixed test of OS X atomic(3).

diffstat:

 auto/os/darwin |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (10 lines):

diff -r 71d85de7b53b -r 09d7faaef16f auto/os/darwin
--- a/auto/os/darwin	Tue May 21 18:45:07 2013 -0700
+++ b/auto/os/darwin	Thu May 23 10:23:21 2013 +0400
@@ -112,5 +112,5 @@ ngx_feature_incs="#include <libkern/OSAt
 ngx_feature_path=
 ngx_feature_libs=
 ngx_feature_test="int32_t  lock, n;
-                  n = OSAtomicCompareAndSwap32Barrier(0, 1, lock)"
+                  n = OSAtomicCompareAndSwap32Barrier(0, 1, &lock)"
 . auto/feature



More information about the nginx-devel mailing list