From 930d9e47c95b1e9013a6829e41312dcd6223458a Mon Sep 17 00:00:00 2001 From: Jani Taskinen Date: Mon, 2 Jun 2008 08:46:41 +0000 Subject: [PATCH] - Revert crap # Someone should remove Pierre's karma too.. --- ext/ldap/ldap.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) 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); -- 2.50.1