diff options
| author | Peter Kokot <peterkokot@gmail.com> | 2019-06-23 15:51:24 +0200 |
|---|---|---|
| committer | Peter Kokot <peterkokot@gmail.com> | 2019-06-28 00:05:55 +0200 |
| commit | 638c21765c029f637e45c00a3528ff8ea10c3b72 (patch) | |
| tree | 9ea71b00c656fd28f34096cda5192a9a74a43747 /Zend/zend_operators.c | |
| parent | 033cafacbd8b184260c91a74ea7956b302857706 (diff) | |
| download | php-git-638c21765c029f637e45c00a3528ff8ea10c3b72.tar.gz | |
Remove HAVE_STRCOLL check
The strcoll function is defined in the C89 standard and should be
on today's systems always available via the <string.h> header.
https://port70.net/~nsz/c/c89/c89-draft.html#4.11.4.3
- Remove also SKIPIF strcoll check in test
Diffstat (limited to 'Zend/zend_operators.c')
| -rw-r--r-- | Zend/zend_operators.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c index f6ecd42562..f1ebb2e5df 100644 --- a/Zend/zend_operators.c +++ b/Zend/zend_operators.c @@ -1969,7 +1969,6 @@ ZEND_API int ZEND_FASTCALL string_case_compare_function(zval *op1, zval *op2) /* } /* }}} */ -#if HAVE_STRCOLL ZEND_API int ZEND_FASTCALL string_locale_compare_function(zval *op1, zval *op2) /* {{{ */ { zend_string *tmp_str1, *tmp_str2; @@ -1982,7 +1981,6 @@ ZEND_API int ZEND_FASTCALL string_locale_compare_function(zval *op1, zval *op2) return ret; } /* }}} */ -#endif ZEND_API int ZEND_FASTCALL numeric_compare_function(zval *op1, zval *op2) /* {{{ */ { |
