[PHP-CVS] [php-src] master: ext/intl: Include <limits> for std::numeric_limits (#23072)
[email protected] (Weilin Du via GitHub) Wed, 5 Aug 2026 16:33:20 +0000
| Newsgroups | php.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: Weilin Du (LamentXU123) Committer: GitHub (web-flow) Pusher: LamentXU123 Date: 2026-08-06T00:33:17+08:00 Commit: https://github.com/php/php-src/commit/7a0b0fcc2ce04c59d2e404e45a8a03dfd4cb6d42 Raw diff: https://github.com/php/php-src/commit/7a0b0fcc2ce04c59d2e404e45a8a03dfd4cb6d42.diff ext/intl: Include <limits> for std::numeric_limits (#23072) This fixes #21101 (comment) Some extreme build environments happen to get std::numeric_limits through transitive includes. So we need to put a Include manually Co-authored-by: David Carlier <[email protected]> Changed paths: M ext/intl/dateformat/dateformat_helpers.cpp Diff: diff --git a/ext/intl/dateformat/dateformat_helpers.cpp b/ext/intl/dateformat/dateformat_helpers.cpp index d10acb7273fe..5d93536807a9 100644 --- a/ext/intl/dateformat/dateformat_helpers.cpp +++ b/ext/intl/dateformat/dateformat_helpers.cpp @@ -14,6 +14,8 @@ #include "../intl_cppshims.h" +#include <limits> + #include <unicode/calendar.h> #include <unicode/gregocal.h>