From f2dd8f028bb809d460b831baa34df2d65233d911 Mon Sep 17 00:00:00 2001 From: foobar Date: Sun, 8 May 2005 15:43:22 +0000 Subject: - Fixed bug #32932 (Oracle LDAP: ldap_get_entries invalid pointer) --- ext/ldap/php_ldap.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'ext/ldap/php_ldap.h') 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 -- cgit v1.2.1