[php-src] PR #23273: Fix GH-23272: ext/gd fails to build without the iconv extension
| From: | devnexen | Date: | Fri, 14 Aug 2026 08:46:05 +0000 |
| Subject: | [php-src] PR #23273: Fix GH-23272: ext/gd fails to build without the iconv extension | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-37852@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/23273
Author: devnexen
gdkanji.c includes <iconv.h> only when HAVE_ICONV_H or HAVE_ICONV is set, but HAVE_ICONV_T_DEF
was defined whenever <iconv.h> declares the type, dropping its fallback typedef. Detect iconv
in gd's own config and define both macros together.