1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00

ext/iconv: Build fix for illumos distributions and solaris

close GH-18933
This commit is contained in:
Jacob Adams
2025-06-24 15:56:47 -06:00
committed by David Carlier
parent 1f6ac30769
commit 9fe6fb2566
2 changed files with 4 additions and 1 deletions

3
NEWS
View File

@@ -34,6 +34,9 @@ PHP NEWS
. Fixed GH-8157 (post_max_size evaluates .user.ini too late in php-fpm).
(Jakub Zelenka)
- Iconv:
. Extends the ICONV_CONST preprocessor for illumos/solaris. (jMichaelA)
- Opcache:
. Fixed bug GH-19669 (assertion failure in zend_jit_trace_type_to_info_ex).
(Arnaud)

View File

@@ -43,7 +43,7 @@
#undef iconv
#endif
#if defined(__NetBSD__)
#if defined(__NetBSD__) || (defined(__sun) && defined(__SVR4))
// unfortunately, netbsd has still the old non posix conformant signature
// libiconv tends to match the eventual system's iconv too.
#define ICONV_CONST const