[php-src] PR #20711: MSVC: Add include guards to config.w32.h to prevent macro redefinition warnings
| From: | wmamrak | Date: | Mon, 15 Dec 2025 16:21:44 +0000 |
| Subject: | [php-src] PR #20711: MSVC: Add include guards to config.w32.h to prevent macro redefinition warnings | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-34288@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/20711
Author: wmamrak
This PR adds standard include guards to win32/build/config.w32.h.in (which generates config.w32.h).
This prevents multiple inclusions in the same translation unit, avoiding C4005 warnings for macros
redefined by config.pickle.h, arisen due to subsequent inclusion of config.w32.h.