[php-src] PR #14468: Remove WINDOWS symbol from ext/ldap/ldap.c
| From: | petk | Date: | Tue, 04 Jun 2024 13:16:44 +0000 |
| Subject: | [php-src] PR #14468: Remove WINDOWS symbol from ext/ldap/ldap.c | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-26530@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/14468
Author: petk
The WINDOWS symbol was used up to commit
f79688e8489145e67f6f76ca7cd0c3dbbe652a54 where it got undefined when condition
#if
WIN32|WINNT was met. Then the condition was replaced with simpler PHP_WIN32 (which today
implies also 64-bit platforms) and WINDOWS is undefined in this file when targeting Windows
platform. Conditions otherwise also work on Windows anyway because of the LDAP_API_VERSION check.