Skip to content

Commit d3b63ce

Browse files
committed
Merge branch 'PHP-8.4'
2 parents 321bdaa + 299601d commit d3b63ce

File tree

5 files changed

+4
-5
lines changed

5 files changed

+4
-5
lines changed

cmake/cmake/ConfigureChecks.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,6 @@ block()
284284
check_symbol_exists(getloadavg "${headers}" HAVE_GETLOADAVG)
285285
endblock()
286286

287-
check_symbol_exists(getlogin unistd.h HAVE_GETLOGIN)
288287
check_symbol_exists(getrusage sys/resource.h HAVE_GETRUSAGE)
289288
check_symbol_exists(gettimeofday sys/time.h HAVE_GETTIMEOFDAY)
290289
check_symbol_exists(getpwnam_r pwd.h HAVE_GETPWNAM_R)

cmake/cmake/platforms/Windows.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
7777
set(HAVE_GCC_GLOBAL_REGS FALSE)
7878
set(HAVE_GETGRNAM_R FALSE)
7979
set(HAVE_GETLOADAVG FALSE)
80-
set(HAVE_GETLOGIN FALSE)
8180
set(HAVE_GETPWNAM_R FALSE)
8281
set(HAVE_GETPWUID_R FALSE)
8382
set(HAVE_GETRANDOM FALSE)

cmake/ext/posix/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ cmake_push_check_state(RESET)
8383
cmake_pop_check_state()
8484
check_symbol_exists(getgrgid_r grp.h HAVE_GETGRGID_R)
8585
check_symbol_exists(getgroups unistd.h HAVE_GETGROUPS)
86+
check_symbol_exists(getlogin unistd.h HAVE_GETLOGIN)
8687
check_symbol_exists(getpgid unistd.h HAVE_GETPGID)
8788
check_symbol_exists(getrlimit sys/resource.h HAVE_GETRLIMIT)
8889
check_symbol_exists(getsid unistd.h HAVE_GETSID)

cmake/ext/posix/cmake/config.h.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
/* Define to 1 if you have the 'getgroups' function. */
1414
#cmakedefine HAVE_GETGROUPS 1
1515

16+
/* Define to 1 if you have the 'getlogin' function. */
17+
#cmakedefine HAVE_GETLOGIN 1
18+
1619
/* Define to 1 if you have the 'getpgid' function. */
1720
#cmakedefine HAVE_GETPGID 1
1821

cmake/main/cmake/php_config.h.in

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,6 @@
175175
/* Define to 1 if you have the 'getloadavg' function. */
176176
#cmakedefine HAVE_GETLOADAVG 1
177177

178-
/* Define to 1 if you have the 'getlogin' function. */
179-
#cmakedefine HAVE_GETLOGIN 1
180-
181178
/* Define to 1 if you have the 'getprotobyname' function. */
182179
#cmakedefine HAVE_GETPROTOBYNAME 1
183180

0 commit comments

Comments
 (0)