mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
Fixed a problem that ICONV_IMPL doesn't give a correct value in win32 build.
This commit is contained in:
parent
bdeb45b335
commit
5ca953b10f
1 changed files with 2 additions and 0 deletions
|
@ -146,6 +146,8 @@ PHP_MINIT_FUNCTION(miconv)
|
|||
|
||||
#ifdef PHP_ICONV_IMPL
|
||||
REGISTER_STRING_CONSTANT("ICONV_IMPL", PHP_ICONV_IMPL, CONST_CS | CONST_PERSISTENT);
|
||||
#elif HAVE_LIBICONV
|
||||
REGISTER_STRING_CONSTANT("ICONV_IMPL", "libiconv", CONST_CS | CONST_PERSISTENT);
|
||||
#else
|
||||
REGISTER_STRING_CONSTANT("ICONV_IMPL", "unknown", CONST_CS | CONST_PERSISTENT);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue