summaryrefslogtreecommitdiffhomepage
path: root/auto/os/features
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--auto/os/features30
1 files changed, 0 insertions, 30 deletions
diff --git a/auto/os/features b/auto/os/features
index 1e54f9d3d..c542c7eef 100644
--- a/auto/os/features
+++ b/auto/os/features
@@ -122,36 +122,6 @@ if test -z "$NGX_KQUEUE_CHECKED"; then
if (kev.flags & EV_ERROR) return 1;"
. auto/feature
-
-
- if [ "$NGX_SYSTEM" = "Darwin" ]; then
-
- 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>"
- ngx_feature_path=
- ngx_feature_libs=
- ngx_feature_test="int kq;
- struct kevent kev;
- struct timespec ts;
- struct timeval tv, tv0;
-
- kq = kqueue();
-
- ts.tv_sec = 0;
- ts.tv_nsec = 999000000;
-
- gettimeofday(&tv, 0);
- kevent(kq, NULL, 0, &kev, 1, &ts);
- gettimeofday(&tv0, 0);
- timersub(&tv0, &tv, &tv);
-
- if (tv.tv_sec * 1000000 + tv.tv_usec < 900000) return 1;"
-
- . auto/feature
- fi
fi
fi