mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 09:42:39 +08:00
add variadic macros support for msvc8
This commit is contained in:
parent
1153aa6465
commit
694bdea2a9
@ -97,6 +97,12 @@ if [ $NGX_CC_NAME != msvc8 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
# MSVC 2005 supports C99 variadic macros
|
||||||
|
if [ $NGX_CC_NAME = msvc8 ]; then
|
||||||
|
have=NGX_HAVE_C99_VARIADIC_MACROS . auto/have
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
# precompiled headers
|
# precompiled headers
|
||||||
CORE_DEPS="$CORE_DEPS $NGX_OBJS/ngx_config.pch"
|
CORE_DEPS="$CORE_DEPS $NGX_OBJS/ngx_config.pch"
|
||||||
NGX_PCH="$NGX_OBJS/ngx_config.pch"
|
NGX_PCH="$NGX_OBJS/ngx_config.pch"
|
||||||
|
@ -57,8 +57,8 @@ ngx_event_accept(ngx_event_t *ev)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
ngx_log_error((err == NGX_ECONNABORTED) ? NGX_LOG_ERR:
|
ngx_log_error((ngx_uint_t) ((err == NGX_ECONNABORTED) ?
|
||||||
NGX_LOG_ALERT,
|
NGX_LOG_ERR : NGX_LOG_ALERT),
|
||||||
ev->log, err, "accept() failed");
|
ev->log, err, "accept() failed");
|
||||||
|
|
||||||
if (err == NGX_ECONNABORTED) {
|
if (err == NGX_ECONNABORTED) {
|
||||||
|
Loading…
Reference in New Issue
Block a user