Skip to content

Commit abce855

Browse files
committed
Merge branch 'PHP-8.4'
2 parents bf08048 + 3022281 commit abce855

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

cmake/Zend/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,7 @@ cmake_push_check_state(RESET)
411411
cmake_pop_check_state()
412412

413413
check_symbol_exists(pthread_stackseg_np pthread.h HAVE_PTHREAD_STACKSEG_NP)
414+
check_symbol_exists(strnlen string.h HAVE_STRNLEN)
414415

415416
# Check for sigsetjmp(). It can be a function or defined as a macro. Note, that
416417
# POSIX.1-2001-compliant systems should have it. On Windows the setjmp() is

cmake/Zend/cmake/zend_config.h.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@
6868
/* Define if you have 'strerror_r'. */
6969
#cmakedefine HAVE_STRERROR_R 1
7070

71+
/* Define to 1 if you have the 'strnlen' function. */
72+
#cmakedefine HAVE_STRNLEN 1
73+
7174
/* Define to 1 if strerror_r returns char *. */
7275
#cmakedefine STRERROR_R_CHAR_P 1
7376

cmake/cmake/ConfigureChecks.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,6 @@ endblock()
339339
check_symbol_exists(statvfs sys/statvfs.h HAVE_STATVFS)
340340
check_symbol_exists(std_syslog sys/syslog.h HAVE_STD_SYSLOG)
341341
check_symbol_exists(strcasecmp strings.h HAVE_STRCASECMP)
342-
check_symbol_exists(strnlen string.h HAVE_STRNLEN)
343342
check_symbol_exists(symlink unistd.h HAVE_SYMLINK)
344343
check_symbol_exists(tzset time.h HAVE_TZSET)
345344
check_symbol_exists(unsetenv stdlib.h HAVE_UNSETENV)

cmake/main/cmake/php_config.h.in

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -364,9 +364,6 @@
364364
/* Define to 1 if you have the 'strndup' function. */
365365
#cmakedefine HAVE_STRNDUP 1
366366

367-
/* Define to 1 if you have the 'strnlen' function. */
368-
#cmakedefine HAVE_STRNLEN 1
369-
370367
/* Define to 1 if you have the 'strtok_r' function. */
371368
#cmakedefine HAVE_STRTOK_R 1
372369

0 commit comments

Comments
 (0)