summaryrefslogtreecommitdiff
path: root/ext/ldap/ldap.c
diff options
context:
space:
mode:
authorJani Taskinen <jani@php.net>2008-06-02 08:46:41 +0000
committerJani Taskinen <jani@php.net>2008-06-02 08:46:41 +0000
commit930d9e47c95b1e9013a6829e41312dcd6223458a (patch)
tree561d5b7079763575773d8bd2161fb91255d84c5d /ext/ldap/ldap.c
parent2528bd43fc89fc5a14867a055dc9f0e2192ffe79 (diff)
downloadphp-git-930d9e47c95b1e9013a6829e41312dcd6223458a.tar.gz
- Revert crap
# Someone should remove Pierre's karma too..
Diffstat (limited to 'ext/ldap/ldap.c')
-rw-r--r--ext/ldap/ldap.c12
1 files 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 <stddef.h>
#include "ext/standard/dl.h"
@@ -48,9 +49,7 @@
#if HAVE_NSLDAP
#include <winsock2.h>
#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);