mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
Configure: fixed test of OS X atomic(3).
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user