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 /ext/standard/string.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 'ext/standard/string.c')
-rw-r--r-- | ext/standard/string.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/standard/string.c b/ext/standard/string.c index 78b726c87f..f8b808d1ad 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -701,7 +701,6 @@ PHP_FUNCTION(nl_langinfo) #endif /* }}} */ -#ifdef HAVE_STRCOLL /* {{{ proto int strcoll(string str1, string str2) Compares two strings using the current locale */ PHP_FUNCTION(strcoll) @@ -717,7 +716,6 @@ PHP_FUNCTION(strcoll) (const char *) ZSTR_VAL(s2))); } /* }}} */ -#endif /* {{{ php_charmask * Fills a 256-byte bytemask with input. You can specify a range like 'a..z', |