aboutsummaryrefslogtreecommitdiff
path: root/auto/os/features
diff options
context:
space:
mode:
Diffstat (limited to 'auto/os/features')
-rw-r--r--auto/os/features23
1 files changed, 2 insertions, 21 deletions
diff --git a/auto/os/features b/auto/os/features
index 702815187..e8ae033d0 100644
--- a/auto/os/features
+++ b/auto/os/features
@@ -120,8 +120,8 @@ if test -z "$NGX_KQUEUE_CHECKED"; then
if [ "$NGX_SYSTEM" = "Darwin" ]; then
- ngx_feature="MacOSX 64-bit kqueue millisecond timeout bug"
- ngx_feature_name=
+ ngx_feature="Darwin 64-bit kqueue millisecond timeout bug"
+ ngx_feature_name=NGX_DARWIN_KEVENT_BUG
ngx_feature_run=bug
ngx_feature_incs="#include <sys/event.h>
#include <sys/time.h>"
@@ -144,30 +144,11 @@ if test -z "$NGX_KQUEUE_CHECKED"; then
if (tv.tv_sec * 1000000 + tv.tv_usec < 900000) return 1;"
. auto/feature
-
- ngx_macosx_kevent_bug=$ngx_found
fi
fi
fi
-if [ ".$ngx_macosx_kevent_bug" = .yes ]; then
-
- cat << END >> $NGX_AUTO_CONFIG_H
-
-#define NGX_MACOSX_KEVENT_BUG_SHIFT << 32
-
-END
-
-else
- cat << END >> $NGX_AUTO_CONFIG_H
-
-#define NGX_MACOSX_KEVENT_BUG_SHIFT
-
-END
-fi
-
-
if [ "$NGX_SYSTEM" = "NetBSD" ]; then
# NetBSD 2.0 incompatibly defines kevent.udata as "intptr_t"