@@ -30,9 +30,6 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
3030 # PHP has nice() emulation implemented on Windows.
3131 set (HAVE_NICE TRUE )
3232
33- # PHP defines strcasecmp in Zend/zend_config.w32.h.
34- set (HAVE_STRCASECMP TRUE )
35-
3633 # PHP has syslog.h emulation implemented on Windows.
3734 set (HAVE_SYSLOG_H TRUE )
3835
@@ -48,6 +45,9 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
4845 # PHP has socketpair() emulation implemented on Windows.
4946 set (PHP_HAS_SOCKETPAIR TRUE )
5047
48+ # PHP defines strcasecmp in Zend/zend_config.w32.h.
49+ set (PHP_HAVE_STRCASECMP TRUE )
50+
5151 ##############################################################################
5252 # To speed up the Windows build experience where configuration phase takes
5353 # much longer compared to POSIX-based environments, the following are always
@@ -134,7 +134,6 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
134134 set (HAVE_STD_SYSLOG FALSE )
135135 set (HAVE_STDDEF_H TRUE ) # Defined by check_type_size().
136136 set (HAVE_STDINT_H TRUE ) # Defined by check_type_size().
137- set (HAVE_STRINGS_H FALSE )
138137 set (HAVE_STRLCAT FALSE )
139138 set (HAVE_STRLCPY FALSE )
140139 set (HAVE_STRNLEN TRUE )
@@ -259,6 +258,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
259258 set (PHP_HAVE_CREATEPROCESS TRUE )
260259 set (PHP_HAVE_FORK FALSE )
261260 set (PHP_HAVE_GRP_H FALSE )
261+ set (PHP_HAVE_STRINGS_H FALSE )
262262 set (PHP_HAVE_UNISTD_H FALSE )
263263 set (PHP_SAPI_CLI_HAVE_PS_STRINGS FALSE )
264264 set (PHP_SAPI_PHPDBG_HAS_UFFDIO_WRITEPROTECT_MODE_WP FALSE )
0 commit comments