@@ -27,9 +27,6 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
2727  # PHP has nice() emulation implemented on Windows. 
2828  set (HAVE_NICE TRUE )
2929
30-   # PHP defines strcasecmp in Zend/zend_config.w32.h. 
31-   set (HAVE_STRCASECMP TRUE )
32- 
3330  # PHP has syslog.h emulation implemented on Windows. 
3431  set (HAVE_SYSLOG_H TRUE )
3532
@@ -45,6 +42,9 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
4542  # PHP has socketpair() emulation implemented on Windows. 
4643  set (PHP_HAS_SOCKETPAIR TRUE )
4744
45+   # PHP defines strcasecmp in Zend/zend_config.w32.h. 
46+   set (PHP_HAVE_STRCASECMP TRUE )
47+ 
4848  ############################################################################## 
4949  # To speed up the Windows build experience where configuration phase takes 
5050  # much longer compared to POSIX-based environments, the following are always 
@@ -136,7 +136,6 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
136136  set (HAVE_STD_SYSLOG FALSE )
137137  set (HAVE_STDDEF_H TRUE ) # Defined by check_type_size(). 
138138  set (HAVE_STDINT_H TRUE ) # Defined by check_type_size(). 
139-   set (HAVE_STRINGS_H FALSE )
140139  set (HAVE_STRLCAT FALSE )
141140  set (HAVE_STRLCPY FALSE )
142141  set (HAVE_STRNLEN TRUE )
@@ -262,6 +261,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
262261  set (PHP_HAVE_CREATEPROCESS TRUE )
263262  set (PHP_HAVE_FORK FALSE )
264263  set (PHP_HAVE_GRP_H FALSE )
264+   set (PHP_HAVE_STRINGS_H FALSE )
265265  set (PHP_HAVE_UNISTD_H FALSE )
266266  set (PHP_SAPI_CLI_HAVE_PS_STRINGS FALSE )
267267  set (PHP_SAPI_PHPDBG_HAS_UFFDIO_WRITEPROTECT_MODE_WP FALSE )
0 commit comments