From: Jani Taskinen Date: Mon, 2 Jun 2008 08:46:41 +0000 (+0000) Subject: - Revert crap X-Git-Tag: BEFORE_NEW_PARAMETER_PARSE~101 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=930d9e47c95b1e9013a6829e41312dcd6223458a;p=php - Revert crap # Someone should remove Pierre's karma too.. --- diff --git a/ext/ldap/ldap.c b/ext/ldap/ldap.c index 007e5ce19e..66d2a33584 100644 --- a/ext/ldap/ldap.c +++ b/ext/ldap/ldap.c @@ -38,6 +38,7 @@ #include "php.h" #include "php_ini.h" + #include #include "ext/standard/dl.h" @@ -48,9 +49,7 @@ #if HAVE_NSLDAP #include #endif -#ifndef strdup -# define strdup _strdup -#endif +#define strdup _strdup #undef WINDOWS #undef strcasecmp #undef strncasecmp @@ -247,13 +246,6 @@ PHP_MINFO_FUNCTION(ldap) } php_info_print_table_row(2, "Total Links", tmp); - -#ifdef LDAP_VENDOR_VERSION_MAJOR - snprintf(tmp, 31, "%d.%d.%d", LDAP_VENDOR_VERSION_MAJOR, - LDAP_VENDOR_VERSION_MINOR, LDAP_VENDOR_VERSION_PATCH); - php_info_print_table_row(2, "Version", tmp); -#endif - #ifdef LDAP_API_VERSION snprintf(tmp, 31, "%d", LDAP_API_VERSION); php_info_print_table_row(2, "API Version", tmp);