Skip to content

Commit edd99f7

Browse files
authored
ext/ldap: Enable ldap_set_rebind_proc() on Windows (#21749)
Windows uses OpenLDAP which provides ldap_set_rebind_proc() with a 3-arg-signature: https://github.com/winlibs/openldap
1 parent b8c3bf9 commit edd99f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/ldap/config.w32

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ if (PHP_LDAP != "no") {
2424
AC_DEFINE('HAVE_LDAP_WHOAMI_S', 1);
2525
AC_DEFINE('HAVE_LDAP_REFRESH_S', 1);
2626
AC_DEFINE('HAVE_LDAP_EXTENDED_OPERATION', 1);
27-
27+
AC_DEFINE('HAVE_3ARG_SETREBINDPROC', 1);
2828
} else {
2929
WARNING("ldap not enabled; libraries and headers not found");
3030
}

0 commit comments

Comments
 (0)