Skip to content

Commit 3022281

Browse files
committed
Merge branch 'PHP-8.3' into PHP-8.4
2 parents 80868cb + 2d65ed2 commit 3022281

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
@@ -409,6 +409,7 @@ cmake_push_check_state(RESET)
409409
cmake_pop_check_state()
410410

411411
check_symbol_exists(pthread_stackseg_np pthread.h HAVE_PTHREAD_STACKSEG_NP)
412+
check_symbol_exists(strnlen string.h HAVE_STRNLEN)
412413

413414
# Check for sigsetjmp(). It can be a function or defined as a macro. Note, that
414415
# 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
@@ -65,6 +65,9 @@
6565
/* Define if you have 'strerror_r'. */
6666
#cmakedefine HAVE_STRERROR_R 1
6767

68+
/* Define to 1 if you have the 'strnlen' function. */
69+
#cmakedefine HAVE_STRNLEN 1
70+
6871
/* Define to 1 if strerror_r returns char *. */
6972
#cmakedefine STRERROR_R_CHAR_P 1
7073

cmake/cmake/ConfigureChecks.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,6 @@ endblock()
358358
check_symbol_exists(statvfs sys/statvfs.h HAVE_STATVFS)
359359
check_symbol_exists(std_syslog sys/syslog.h HAVE_STD_SYSLOG)
360360
check_symbol_exists(strcasecmp strings.h HAVE_STRCASECMP)
361-
check_symbol_exists(strnlen string.h HAVE_STRNLEN)
362361
check_symbol_exists(symlink unistd.h HAVE_SYMLINK)
363362
check_symbol_exists(tzset time.h HAVE_TZSET)
364363
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
@@ -358,9 +358,6 @@
358358
/* Define to 1 if you have the 'strndup' function. */
359359
#cmakedefine HAVE_STRNDUP 1
360360

361-
/* Define to 1 if you have the 'strnlen' function. */
362-
#cmakedefine HAVE_STRNLEN 1
363-
364361
/* Define to 1 if you have the 'strtok_r' function. */
365362
#cmakedefine HAVE_STRTOK_R 1
366363

0 commit comments

Comments
 (0)