mirror of
https://github.com/php/php-src.git
synced 2024-09-23 19:07:26 +00:00
Move GINIT definition above re-definition of iconv. Gah.
This commit is contained in:
parent
e901a7a870
commit
f2ef84a495
@ -107,6 +107,15 @@ zend_module_entry iconv_module_entry = {
|
||||
ZEND_GET_MODULE(iconv)
|
||||
#endif
|
||||
|
||||
/* {{{ PHP_GINIT_FUNCTION */
|
||||
static PHP_GINIT_FUNCTION(iconv)
|
||||
{
|
||||
iconv_globals->input_encoding = NULL;
|
||||
iconv_globals->output_encoding = NULL;
|
||||
iconv_globals->internal_encoding = NULL;
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
#ifdef HAVE_LIBICONV
|
||||
#define iconv libiconv
|
||||
#endif
|
||||
@ -156,15 +165,6 @@ PHP_INI_BEGIN()
|
||||
PHP_INI_END()
|
||||
/* }}} */
|
||||
|
||||
/* {{{ PHP_GINIT_FUNCTION */
|
||||
static PHP_GINIT_FUNCTION(iconv)
|
||||
{
|
||||
iconv_globals->input_encoding = NULL;
|
||||
iconv_globals->output_encoding = NULL;
|
||||
iconv_globals->internal_encoding = NULL;
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ PHP_MINIT_FUNCTION */
|
||||
PHP_MINIT_FUNCTION(miconv)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user