[GIT-PULLS] [php-src] PR #23273: Fix GH-23272: ext/gd fails to build without the iconv extension
[email protected] (devnexen)
| Newsgroups | php.git-pulls |
|---|---|
| Message-ID | <[email protected]> |
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.