kvspb / nginx-auth-ldap

LDAP authentication module for nginx
BSD 2-Clause "Simplified" License
731 stars 251 forks source link

compile under windows #231

Open shengdin opened 4 years ago

shengdin commented 4 years ago

i have a problem for compiling it in window's env 。please help me cl -c -O2 -W4 -nologo -MT -Zi -Fdobjs/nginx.pdb -DFD_SETSIZE=1024 -DNO_SYS_TYPES_H -Yungx_config.h -Fpobjs/ngx_config.pch -I src/core -I src/event -I src/event/modules -I src/os/win32 -I objs/lib/pcre-8.43 -I objs/lib/openssl-1.1.1c/openssl/include -I objs/lib/zlib-1.2.11 -I objs -I src/http -I src/http/modules -Foobjs/addon/nginx-auth-ldap/ngx_http_auth_ldap_module.obj objs/lib/nginx-auth-ldap/ngx_http_auth_ldap_module.c ngx_http_auth_ldap_module.c objs/lib/nginx-auth-ldap/ngx_http_auth_ldap_module.c(1004): error C2065: 'SHUT_RDWR': undeclared identifier i already put lber.h,ldap.h,ldap_cdefs.h,ldap_features.h,lber_types.h in my compile path