From c4a044cc50e35b114095bfe744ba3fa0e6bfc5bd Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Thu, 23 May 2013 10:23:21 +0400 Subject: [PATCH] Configure: fixed test of OS X atomic(3). --- auto/os/darwin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto/os/darwin b/auto/os/darwin index 590e03697..b97518a6e 100644 --- a/auto/os/darwin +++ b/auto/os/darwin @@ -112,5 +112,5 @@ ngx_feature_incs="#include " 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