aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_file_aio_read.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2019-01-24 21:51:21 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2019-01-24 21:51:21 +0300
commit40b74475d03603692e2a0f8d8391a2d5062eb718 (patch)
treecee040e26a5092b9a4f520cc167131eb9befd69a /src/os/unix/ngx_file_aio_read.c
parentc6a0003af10cea67d6b6c3b087e384f79d353db3 (diff)
downloadnginx-40b74475d03603692e2a0f8d8391a2d5062eb718.tar.gz
nginx-40b74475d03603692e2a0f8d8391a2d5062eb718.zip
Win32: added WSAPoll() support.
WSAPoll() is only available with Windows Vista and newer (and only available during compilation if _WIN32_WINNT >= 0x0600). To make sure the code works with Windows XP, we do not redefine _WIN32_WINNT, but instead load WSAPoll() dynamically if it is not available during compilation. Also, sockets are not guaranteed to be small integers on Windows. So an index array is used instead of NGX_USE_FD_EVENT to map events to connections.
Diffstat (limited to 'src/os/unix/ngx_file_aio_read.c')
0 files changed, 0 insertions, 0 deletions