summaryrefslogtreecommitdiff
path: root/ext/ldap/php_ldap.h
diff options
context:
space:
mode:
authorStig Venaas <venaas@php.net>2001-12-23 16:32:06 +0000
committerStig Venaas <venaas@php.net>2001-12-23 16:32:06 +0000
commited942af693e438709260368f4544d1af0990d83a (patch)
tree945168b2d1af05abe690383f5b498ef860ee6f76 /ext/ldap/php_ldap.h
parent7cf14fb1e1e9640548c32f9531a56512c3fc4993 (diff)
downloadphp-git-ed942af693e438709260368f4544d1af0990d83a.tar.gz
Made ldap_set_option work with NULL as link, added option
LDAP_OPT_DEBUG_LEVEL for those that support it, and made sure the rebind code is currently included for OpenLDAP only.
Diffstat (limited to 'ext/ldap/php_ldap.h')
-rw-r--r--ext/ldap/php_ldap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ldap/php_ldap.h b/ext/ldap/php_ldap.h
index 8b4343eeb2..fd82391e1f 100644
--- a/ext/ldap/php_ldap.h
+++ b/ext/ldap/php_ldap.h
@@ -94,7 +94,7 @@ PHP_FUNCTION(ldap_rename);
PHP_FUNCTION(ldap_start_tls);
#endif
-#ifdef HAVE_3ARG_SETREBINDPROC
+#if defined(LDAP_API_FEATURE_X_OPENLDAP) && defined(HAVE_3ARG_SETREBINDPROC)
PHP_FUNCTION(ldap_set_rebind_proc);
#endif