mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
ext/iconv: Hardcode 0 for PHP_ICONV_ERR_SUCCESS value
Instead of relying on the zend_result SUCCESS value which doesn't have much to do with it here.
This commit is contained in:
parent
2d3db4b594
commit
e1686aabf7
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ ZEND_TSRMLS_CACHE_EXTERN()
|
||||||
|
|
||||||
/* {{{ typedef enum php_iconv_err_t */
|
/* {{{ typedef enum php_iconv_err_t */
|
||||||
typedef enum _php_iconv_err_t {
|
typedef enum _php_iconv_err_t {
|
||||||
PHP_ICONV_ERR_SUCCESS = SUCCESS,
|
PHP_ICONV_ERR_SUCCESS = 0,
|
||||||
PHP_ICONV_ERR_CONVERTER = 1,
|
PHP_ICONV_ERR_CONVERTER = 1,
|
||||||
PHP_ICONV_ERR_WRONG_CHARSET = 2,
|
PHP_ICONV_ERR_WRONG_CHARSET = 2,
|
||||||
PHP_ICONV_ERR_TOO_BIG = 3,
|
PHP_ICONV_ERR_TOO_BIG = 3,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue