mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
- Revert pointless patch: a) the version is already there, see line above,
b) one branch commits are idiotic to begin with, we have three active branches! This only leads to out-of-sync situations ála PDO..
This commit is contained in:
parent
572adc05e4
commit
d652cec246
1 changed files with 1 additions and 7 deletions
|
@ -49,9 +49,7 @@
|
||||||
#if HAVE_NSLDAP
|
#if HAVE_NSLDAP
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
#endif
|
#endif
|
||||||
#ifndef strdup
|
|
||||||
#define strdup _strdup
|
#define strdup _strdup
|
||||||
#endif
|
|
||||||
#undef WINDOWS
|
#undef WINDOWS
|
||||||
#undef strcasecmp
|
#undef strcasecmp
|
||||||
#undef strncasecmp
|
#undef strncasecmp
|
||||||
|
@ -256,14 +254,10 @@ PHP_MINFO_FUNCTION(ldap)
|
||||||
#ifdef LDAP_VENDOR_NAME
|
#ifdef LDAP_VENDOR_NAME
|
||||||
php_info_print_table_row(2, "Vendor Name", LDAP_VENDOR_NAME);
|
php_info_print_table_row(2, "Vendor Name", LDAP_VENDOR_NAME);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef LDAP_VENDOR_VERSION
|
#ifdef LDAP_VENDOR_VERSION
|
||||||
snprintf(tmp, 31, "%d", LDAP_VENDOR_VERSION);
|
snprintf(tmp, 31, "%d", LDAP_VENDOR_VERSION);
|
||||||
php_info_print_table_row(2, "Vendor Version", tmp);
|
php_info_print_table_row(2, "Vendor Version", tmp);
|
||||||
|
|
||||||
snprintf(tmp, 31, "%d.%d.%d", LDAP_VENDOR_VERSION_MAJOR,
|
|
||||||
LDAP_VENDOR_VERSION_MINOR, LDAP_VENDOR_VERSION_PATCH);
|
|
||||||
php_info_print_table_row(2, "Vendor Version String", tmp);
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if HAVE_NSLDAP
|
#if HAVE_NSLDAP
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue