[php-src] PR #20033: MSVC: Prevent C4005 redefinition warning for WIN32_LEAN_AND_MEAN

From: Date: Wed, 01 Oct 2025 16:25:59 +0000
Subject: [php-src] PR #20033: MSVC: Prevent C4005 redefinition warning for WIN32_LEAN_AND_MEAN
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-33443@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/20033 Author: wmamrak Build systems often pass /DWIN32_LEAN_AND_MEAN to the compiler. Several headers also define this macro unconditionally, which causes C4005 (macro redefinition) warnings in the build log. This commit wraps the definitions in #ifndef guards to resolve the warnings.

« previous php.git-pulls (#33443) next »