Skip to content

Commit 8f376ef

Browse files
committed
Merge branch 'PHP-8.3' into PHP-8.4
2 parents f091ff0 + d3d71bd commit 8f376ef

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

cmake/cmake/ConfigureChecks.cmake

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,9 +206,13 @@ if(SIZEOF_SIZE_T STREQUAL "")
206206
set(SIZEOF_SIZE_T_CODE "#define SIZEOF_SIZE_T 0")
207207
endif()
208208

209-
check_type_size("ssize_t" SIZEOF_SSIZE_T)
210-
if(SIZEOF_SSIZE_T STREQUAL "")
209+
if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
211210
set(SIZEOF_SSIZE_T_CODE "#define SIZEOF_SSIZE_T 0")
211+
else()
212+
check_type_size("ssize_t" SIZEOF_SSIZE_T)
213+
if(SIZEOF_SSIZE_T STREQUAL "")
214+
set(SIZEOF_SSIZE_T_CODE "#define SIZEOF_SSIZE_T 0")
215+
endif()
212216
endif()
213217

214218
check_type_size("uid_t" SIZEOF_UID_T)

0 commit comments

Comments
 (0)