[php-src] PR #18971: Remove HAVE_INTMAX_T and SIZEOF_INTMAX_T
| From: | petk | Date: | Sat, 28 Jun 2025 19:14:36 +0000 |
| Subject: | [php-src] PR #18971: Remove HAVE_INTMAX_T and SIZEOF_INTMAX_T | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-32240@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/18971
Author: petk
This is another simplification regarding some standard types availability - the intmax_t isn't
used much in PHP except in few bundled files and there doesn't seem to be any build errors
regarding it out there. So I think this is also fine to do already at this point.
The intmax_t is a C99 standard type defined in
<stdint.h> and widely available on
current platforms. On Windows they are available as of Visual Studio 2013. Using it conditionally as
in these occurrences is not needed anymore.