fix building by Cygwin: Cygwin defines _sys_nerr instead of sys_nerr,

the issue has been introduced in r3788
This commit is contained in:
Igor Sysoev 2010-12-01 19:22:37 +00:00
parent 4c6900ea97
commit ae32ef647d

View file

@ -119,6 +119,18 @@ ngx_feature_test='printf("%d", sys_nerr);'
. 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_name="NGX_HAVE_LOCALTIME_R"
ngx_feature_run=no