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

This commit is contained in:
Ruslan Ermilov 2013-05-23 10:23:21 +04:00
parent 407c831116
commit c4a044cc50

View File

@ -112,5 +112,5 @@ ngx_feature_incs="#include <libkern/OSAtomic.h>"
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