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 /win32 | |
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 'win32')
-rw-r--r-- | win32/build/config.w32 | 1 | ||||
-rw-r--r-- | win32/build/config.w32.h.in | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/win32/build/config.w32 b/win32/build/config.w32 index 38d1fa2295..e01f38b8f3 100644 --- a/win32/build/config.w32 +++ b/win32/build/config.w32 @@ -300,7 +300,6 @@ ARG_ENABLE('fd-setsize', "Set maximum number of sockets for select(2)", "256"); ADD_FLAG("CFLAGS", "/D FD_SETSIZE=" + parseInt(PHP_FD_SETSIZE)); AC_DEFINE('HAVE_USLEEP', 1); -AC_DEFINE('HAVE_STRCOLL', 1); /* For snapshot builders, where can we find the additional * files that make up the snapshot template? */ diff --git a/win32/build/config.w32.h.in b/win32/build/config.w32.h.in index 0403f6c542..3af5fbecf6 100644 --- a/win32/build/config.w32.h.in +++ b/win32/build/config.w32.h.in @@ -122,9 +122,6 @@ #define PHP_SHLIB_EXT_PREFIX "php_" #define HAVE_SQLDATASOURCES -/* Win32 supports strcoll */ -#define HAVE_STRCOLL 1 - /* Win32 supports socketpair by the emulation in win32/sockets.c */ #define HAVE_SOCKETPAIR 1 #define HAVE_SOCKLEN_T 1 |