[nginx] Win32: enabled both select and poll on Windows by default.

Maxim Dounin mdounin at mdounin.ru
Thu Jan 24 20:16:22 UTC 2019


details:   https://hg.nginx.org/nginx/rev/c9235164bbf1
branches:  
changeset: 7445:c9235164bbf1
user:      Maxim Dounin <mdounin at mdounin.ru>
date:      Thu Jan 24 22:00:13 2019 +0300
description:
Win32: enabled both select and poll on Windows by default.

Since we now have both select and poll on Windows, it is enough to
do not set EVENT_FOUND, auto/modules will enable both automatically.

diffstat:

 auto/os/win32 |  8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diffs (18 lines):

diff --git a/auto/os/win32 b/auto/os/win32
--- a/auto/os/win32
+++ b/auto/os/win32
@@ -32,13 +32,7 @@ case "$NGX_CC_NAME" in
 esac
 
 EVENT_MODULES="$EVENT_MODULES $IOCP_MODULE"
-EVENT_FOUND=YES
-
-if [ $EVENT_SELECT = NO ]; then
-    have=NGX_HAVE_SELECT . auto/have
-    CORE_SRCS="$CORE_SRCS $SELECT_SRCS"
-    EVENT_MODULES="$EVENT_MODULES $SELECT_MODULE"
-fi
+#EVENT_FOUND=YES
 
 have=NGX_HAVE_INET6 . auto/have
 


More information about the nginx-devel mailing list