Mercurial > hg > nginx
comparison auto/os/win32 @ 7443:f3ff79ae31d9
Win32: properly enabled select on Windows.
Previously, select was compiled in by default, but the NGX_HAVE_SELECT
macro was not set, resulting in iocp being used by default unless
the "--with-select_module" configure option was explicitly specified.
Since the iocp module is not finished and does not work properly, this
effectively meant that the "--with-select_module" option was mandatory.
With the change NGX_HAVE_SELECT is properly set, making "--with-select_module"
optional. Accordingly, it is removed from misc/GNUmakefile win32 target.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 24 Jan 2019 21:51:00 +0300 |
parents | b7b7f3a0cc28 |
children | 4089b3d2cb59 |
comparison
equal
deleted
inserted
replaced
7442:e0e636ab10be | 7443:f3ff79ae31d9 |
---|---|
32 | 32 |
33 EVENT_MODULES="$EVENT_MODULES $IOCP_MODULE" | 33 EVENT_MODULES="$EVENT_MODULES $IOCP_MODULE" |
34 EVENT_FOUND=YES | 34 EVENT_FOUND=YES |
35 | 35 |
36 if [ $EVENT_SELECT = NO ]; then | 36 if [ $EVENT_SELECT = NO ]; then |
37 have=NGX_HAVE_SELECT . auto/have | |
37 CORE_SRCS="$CORE_SRCS $SELECT_SRCS" | 38 CORE_SRCS="$CORE_SRCS $SELECT_SRCS" |
38 EVENT_MODULES="$EVENT_MODULES $SELECT_MODULE" | 39 EVENT_MODULES="$EVENT_MODULES $SELECT_MODULE" |
39 fi | 40 fi |
40 | 41 |
41 have=NGX_HAVE_INET6 . auto/have | 42 have=NGX_HAVE_INET6 . auto/have |