[php-src] PR #22810: ext/gd: conflicting iconv_t typedef breaking the Solaris build.
| From: | devnexen | Date: | Sun, 19 Jul 2026 15:39:49 +0000 |
| Subject: | [php-src] PR #22810: ext/gd: conflicting iconv_t typedef breaking the Solaris build. | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-37160@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/22810
Author: devnexen
The gd 2.4 sync guarded gdkanji.c's 'typedef void *iconv_t' fallback with
HAVE_ICONV_T_DEF, which the bundled build never defined. On Solaris <iconv.h> declares iconv_t
as a struct pointer, so it clashed. Define HAVE_ICONV_T_DEF when <iconv.h> already provides
iconv_t.