diff --git a/ext/ldap/config.w32 b/ext/ldap/config.w32 index aa3491fe670f9..2fa05f438347b 100644 --- a/ext/ldap/config.w32 +++ b/ext/ldap/config.w32 @@ -21,6 +21,7 @@ if (PHP_LDAP != "no") { AC_DEFINE('HAVE_LDAP', 1); AC_DEFINE('HAVE_LDAP_SASL', 1); AC_DEFINE('HAVE_LDAP_SASL_SASL_H', 1); + AC_DEFINE('LDAP_DEPRECATED', 1); } else { WARNING("ldap not enabled; libraries and headers not found");