]> git.kaiwu.me - nginx.git/commit
Win32: MinGW GCC compatibility.
authorMaxim Dounin <mdounin@mdounin.ru>
Wed, 4 Sep 2013 16:48:28 +0000 (20:48 +0400)
committerMaxim Dounin <mdounin@mdounin.ru>
Wed, 4 Sep 2013 16:48:28 +0000 (20:48 +0400)
commit48d96ced6ff6cea533d56d0d09129f6632a19e4d
treef3196223e3dd9173aaf91dff959498799c0e3ea2
parent74b7a910137a99b5fb073e7c27858c019f96a8cc
Win32: MinGW GCC compatibility.

Several warnings silenced, notably (ngx_socket_t) -1 is now checked
on socket operations instead of -1, as ngx_socket_t is unsigned on win32
and gcc complains on comparison.

With this patch, it's now possible to compile nginx using mingw gcc,
with options we normally compile on win32.
19 files changed:
auto/lib/openssl/conf
auto/lib/pcre/conf
auto/lib/pcre/make
auto/lib/zlib/make
auto/os/win32
src/core/ngx_connection.c
src/core/ngx_cycle.c
src/core/ngx_resolver.c
src/event/modules/ngx_iocp_module.c
src/event/modules/ngx_win32_select_module.c
src/event/ngx_event_accept.c
src/event/ngx_event_acceptex.c
src/event/ngx_event_connect.c
src/event/ngx_event_pipe.c
src/os/win32/ngx_atomic.h
src/os/win32/ngx_process_cycle.c
src/os/win32/ngx_win32_config.h
src/os/win32/ngx_win32_init.c
src/os/win32/ngx_wsarecv.c