diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2006-12-22 12:54:08 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2006-12-22 12:54:08 +0000 |
| commit | ea2f6af9d0544a1fb9cc6cbdd13c233bf3e267e4 (patch) | |
| tree | a00a8fd43fbd8f2cb89d1fdfa2d26a4e976251ee /auto | |
| parent | 28abaf70ffa3432d420a44aeaa60bec9e031b8d7 (diff) | |
| download | nginx-ea2f6af9d0544a1fb9cc6cbdd13c233bf3e267e4.tar.gz nginx-ea2f6af9d0544a1fb9cc6cbdd13c233bf3e267e4.tar.bz2 | |
test Darwin 8 atomic(3)
Diffstat (limited to 'auto')
| -rw-r--r-- | auto/os/conf | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/auto/os/conf b/auto/os/conf index 806beb9e9..b34be7245 100644 --- a/auto/os/conf +++ b/auto/os/conf @@ -42,6 +42,16 @@ case "$NGX_PLATFORM" in CORE_INCS="$UNIX_INCS" CORE_DEPS="$UNIX_DEPS $POSIX_DEPS" CORE_SRCS="$UNIX_SRCS" + + ngx_feature="atomic(3)" + ngx_feature_name=NGX_DARWIN_ATOMIC + ngx_feature_run=no + 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)" + . auto/feature ;; HP-UX:*) |
