Skip to content

Commit b7db89e

Browse files
committed
Merge branch 'PHP-8.3'
2 parents 4e1759e + 110e219 commit b7db89e

File tree

2 files changed

+61
-23
lines changed

2 files changed

+61
-23
lines changed

cmake/ext/pcntl/CMakeLists.txt

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,25 @@ endblock()
6969
check_symbol_exists(forkx "sys/fork.h" HAVE_FORKX)
7070
check_symbol_exists(getcpuid "sys/processor.h" HAVE_GETCPUID)
7171
check_symbol_exists(getpriority "sys/resource.h" HAVE_GETPRIORITY)
72+
check_symbol_exists(pset_bind "sys/pset.h" HAVE_PSET_BIND)
73+
check_symbol_exists(
74+
pthread_set_qos_class_self_np
75+
"pthread/qos.h"
76+
HAVE_PTHREAD_SET_QOS_CLASS_SELF_NP
77+
)
78+
check_symbol_exists(rfork "unistd.h" HAVE_RFORK)
79+
check_symbol_exists(setpriority "sys/resource.h" HAVE_SETPRIORITY)
80+
check_symbol_exists(sigtimedwait "signal.h" HAVE_SIGTIMEDWAIT)
81+
check_symbol_exists(sigwaitinfo "signal.h" HAVE_SIGWAITINFO)
82+
check_symbol_exists(SYS_pidfd_open "sys/syscall.h" HAVE_PIDFD_OPEN)
83+
check_symbol_exists(wait3 "sys/wait.h" HAVE_WAIT3)
84+
check_symbol_exists(wait4 "sys/wait.h" HAVE_WAIT4)
85+
check_symbol_exists(waitid "sys/wait.h" HAVE_WAITID)
86+
check_symbol_exists(WCONTINUED "sys/wait.h" HAVE_DECL_WCONTINUED)
87+
check_symbol_exists(WEXITED "sys/wait.h" HAVE_DECL_WEXITED)
88+
check_symbol_exists(WIFCONTINUED "sys/wait.h" HAVE_WIFCONTINUED)
89+
check_symbol_exists(WNOWAIT "sys/wait.h" HAVE_DECL_WNOWAIT)
90+
check_symbol_exists(WSTOPPED "sys/wait.h" HAVE_DECL_WSTOPPED)
7291

7392
cmake_push_check_state(RESET)
7493
# Some of these enum values require _GNU_SOURCE.
@@ -95,26 +114,6 @@ cmake_push_check_state(RESET)
95114
]] HAVE_DECL_P_UID)
96115
cmake_pop_check_state()
97116

98-
check_symbol_exists(pset_bind "sys/pset.h" HAVE_PSET_BIND)
99-
check_symbol_exists(
100-
pthread_set_qos_class_self_np
101-
"pthread/qos.h"
102-
HAVE_PTHREAD_SET_QOS_CLASS_SELF_NP
103-
)
104-
check_symbol_exists(rfork "unistd.h" HAVE_RFORK)
105-
check_symbol_exists(setpriority "sys/resource.h" HAVE_SETPRIORITY)
106-
check_symbol_exists(sigtimedwait "signal.h" HAVE_SIGTIMEDWAIT)
107-
check_symbol_exists(sigwaitinfo "signal.h" HAVE_SIGWAITINFO)
108-
check_symbol_exists(SYS_pidfd_open "sys/syscall.h" HAVE_PIDFD_OPEN)
109-
check_symbol_exists(wait3 "sys/wait.h" HAVE_WAIT3)
110-
check_symbol_exists(wait4 "sys/wait.h" HAVE_WAIT4)
111-
check_symbol_exists(waitid "sys/wait.h" HAVE_WAITID)
112-
check_symbol_exists(WCONTINUED "sys/wait.h" HAVE_DECL_WCONTINUED)
113-
check_symbol_exists(WEXITED "sys/wait.h" HAVE_DECL_WEXITED)
114-
check_symbol_exists(WIFCONTINUED "sys/wait.h" HAVE_WIFCONTINUED)
115-
check_symbol_exists(WNOWAIT "sys/wait.h" HAVE_DECL_WNOWAIT)
116-
check_symbol_exists(WSTOPPED "sys/wait.h" HAVE_DECL_WSTOPPED)
117-
118117
cmake_push_check_state(RESET)
119118
set(CMAKE_EXTRA_INCLUDE_FILES "signal.h")
120119
check_type_size(siginfo_t HAVE_STRUCT_SIGINFO_T)

cmake/main/config.w32.cmake.h.in

Lines changed: 42 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,12 @@
478478
/* Define to 1 if you have the 'fopencookie' function. */
479479
#cmakedefine HAVE_FOPENCOOKIE 1
480480

481+
/* Define to 1 if you have the 'fork' function. */
482+
#cmakedefine HAVE_FORK 1
483+
484+
/* Define to 1 if you have the 'forkx' function. */
485+
#cmakedefine HAVE_FORKX 1
486+
481487
/* Define to 1 if you have the 'fpathconf' function. */
482488
#cmakedefine HAVE_FPATHCONF 1
483489

@@ -552,6 +558,9 @@
552558
/* Define to 1 if you have the 'getpgid' function. */
553559
#cmakedefine HAVE_GETPGID 1
554560

561+
/* Define to 1 if you have the 'getpriority' function. */
562+
#cmakedefine HAVE_GETPRIORITY 1
563+
555564
#define HAVE_GETPROTOBYNAME 1
556565

557566
#define HAVE_GETPROTOBYNUMBER 1
@@ -777,6 +786,9 @@
777786
/* Define to 1 if OpenSSL crypto library has the 'RAND_egd' function. */
778787
#cmakedefine HAVE_RAND_EGD 1
779788

789+
/* Define to 1 if you have the 'rfork' function. */
790+
#cmakedefine HAVE_RFORK 1
791+
780792
/* Define to 1 if edit/readline library has the 'rl_callback_read_char'
781793
function. */
782794
#cmakedefine HAVE_RL_CALLBACK_READ_CHAR 1
@@ -794,6 +806,9 @@
794806
/* Define to 1 if you have the 'seteuid' function. */
795807
#cmakedefine HAVE_SETEUID 1
796808

809+
/* Define to 1 if you have the 'setpriority' function. */
810+
#cmakedefine HAVE_SETPRIORITY 1
811+
797812
/* Define to 1 if libzip library has the 'zip_file_set_mtime' function
798813
(available since 1.0.0). */
799814
#cmakedefine HAVE_SET_MTIME 1
@@ -817,6 +832,15 @@
817832
/* Define to 1 if you have the 'setsid' function. */
818833
#cmakedefine HAVE_SETSID 1
819834

835+
/* Define to 1 if you have the 'sigaction' function. */
836+
#cmakedefine HAVE_SIGACTION 1
837+
838+
/* Define to 1 if you have the 'sigtimedwait' function. */
839+
#cmakedefine HAVE_SIGTIMEDWAIT 1
840+
841+
/* Define to 1 if you have the 'sigwaitinfo' function. */
842+
#cmakedefine HAVE_SIGWAITINFO 1
843+
820844
/* Define to 1 if the odbc extension uses the Solid DB. */
821845
#cmakedefine HAVE_SOLID 1
822846

@@ -937,18 +961,33 @@
937961
/* Define to 1 if the PHP extension 'odbc' is available. */
938962
#cmakedefine HAVE_UODBC 1
939963

940-
/* Define to 1 if you have the 'utimes' function. */
941-
#cmakedefine HAVE_UTIMES 1
942-
943964
/* Define to 1 if the system has the type 'union semun'. */
944965
#cmakedefine HAVE_UNION_SEMUN 1
945966

967+
/* Define to 1 if you have the 'utimes' function. */
968+
#cmakedefine HAVE_UTIMES 1
969+
946970
#undef HAVE_UNISTD_H
947971

972+
/* Define to 1 if you have the 'unshare' function. */
973+
#cmakedefine HAVE_UNSHARE 1
974+
948975
#define HAVE_USLEEP 1
949976

977+
/* Define to 1 if you have the 'utimes' function. */
978+
#cmakedefine HAVE_UTIMES 1
979+
950980
#define HAVE_UTIME 1
951981

982+
/* Define to 1 if you have the 'waitpid' function. */
983+
#cmakedefine HAVE_WAITPID 1
984+
985+
/* Define to 1 if you have the 'wait3' function. */
986+
#cmakedefine HAVE_WAIT3 1
987+
988+
/* Define to 1 if you have the 'wait4' function. */
989+
#cmakedefine HAVE_WAIT4 1
990+
952991
/* Define to 1 if the PHP extension 'xml' is available. */
953992
#cmakedefine HAVE_XML 1
954993

0 commit comments

Comments
 (0)