mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 17:52:38 +08:00
fix building by Cygwin: Cygwin defines _sys_nerr instead of sys_nerr,
the issue has been introduced in r3788
This commit is contained in:
parent
86ffd9b10f
commit
dc9d7fb2d3
12
auto/unix
12
auto/unix
@ -119,6 +119,18 @@ ngx_feature_test='printf("%d", sys_nerr);'
|
|||||||
. auto/feature
|
. auto/feature
|
||||||
|
|
||||||
|
|
||||||
|
# Cygiwn defines _sys_nerr
|
||||||
|
ngx_feature="_sys_nerr"
|
||||||
|
ngx_feature_name="NGX_SYS_NERR"
|
||||||
|
ngx_feature_run=value
|
||||||
|
ngx_feature_incs='#include <errno.h>
|
||||||
|
#include <stdio.h>'
|
||||||
|
ngx_feature_path=
|
||||||
|
ngx_feature_libs=
|
||||||
|
ngx_feature_test='printf("%d", _sys_nerr);'
|
||||||
|
. auto/feature
|
||||||
|
|
||||||
|
|
||||||
ngx_feature="localtime_r()"
|
ngx_feature="localtime_r()"
|
||||||
ngx_feature_name="NGX_HAVE_LOCALTIME_R"
|
ngx_feature_name="NGX_HAVE_LOCALTIME_R"
|
||||||
ngx_feature_run=no
|
ngx_feature_run=no
|
||||||
|
Loading…
Reference in New Issue
Block a user