changeset 5224:09d7faaef16f

Configure: fixed test of OS X atomic(3).
author Ruslan Ermilov <ru@nginx.com>
date Thu, 23 May 2013 10:23:21 +0400
parents 71d85de7b53b
children 15a7deeaa19a
files auto/os/darwin
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/auto/os/darwin
+++ b/auto/os/darwin
@@ -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