diff options
author | foobar <sniper@php.net> | 2005-05-08 15:44:15 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2005-05-08 15:44:15 +0000 |
commit | c941788794584437037097cc23ac0918d125f0b3 (patch) | |
tree | e3490b559cab06c92e5a0dcb18b12ddb0443e11a /ext/ldap/php_ldap.h | |
parent | db46216831b776db3431c1b197ac6ee56c4c3a62 (diff) | |
download | php-git-c941788794584437037097cc23ac0918d125f0b3.tar.gz |
MFH: - Fixed bug #32932 (Oracle LDAP: ldap_get_entries invalid pointer)
Diffstat (limited to 'ext/ldap/php_ldap.h')
-rw-r--r-- | ext/ldap/php_ldap.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/ext/ldap/php_ldap.h b/ext/ldap/php_ldap.h index 7260939cbd..ee8b29a3ac 100644 --- a/ext/ldap/php_ldap.h +++ b/ext/ldap/php_ldap.h @@ -70,14 +70,18 @@ PHP_FUNCTION(ldap_error); PHP_FUNCTION(ldap_compare); PHP_FUNCTION(ldap_sort); -#if (LDAP_API_VERSION > 2000) || HAVE_NSLDAP +#if (LDAP_API_VERSION > 2000) || HAVE_NSLDAP || HAVE_ORALDAP_10 PHP_FUNCTION(ldap_get_option); PHP_FUNCTION(ldap_set_option); -PHP_FUNCTION(ldap_parse_result); PHP_FUNCTION(ldap_first_reference); PHP_FUNCTION(ldap_next_reference); -PHP_FUNCTION(ldap_parse_reference); PHP_FUNCTION(ldap_rename); +#ifdef HAVE_LDAP_PARSE_RESULT +PHP_FUNCTION(ldap_parse_result); +#endif +#ifdef HAVE_LDAP_PARSE_REFERENCE +PHP_FUNCTION(ldap_parse_reference); +#endif #endif #if LDAP_API_VERSION > 2000 |