diff options
author | foobar <sniper@php.net> | 2005-05-08 15:43:22 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2005-05-08 15:43:22 +0000 |
commit | f2dd8f028bb809d460b831baa34df2d65233d911 (patch) | |
tree | 1683ad07dde56d19d03aac8d51e162a4cec8f70a /ext/ldap/php_ldap.h | |
parent | 0060548378a1b40a8e89fd4bbdfb50bf9dd258f6 (diff) | |
download | php-git-f2dd8f028bb809d460b831baa34df2d65233d911.tar.gz |
- 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 |