From 6836b3c6416bd27314215a92eefa553cd7d66bb1 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Mon, 1 Jul 2024 22:29:45 +0200 Subject: [PATCH] Remove unused PTHREADS CPP macro definition --- TSRM/tsrm.m4 | 2 -- UPGRADING.INTERNALS | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/TSRM/tsrm.m4 b/TSRM/tsrm.m4 index 9f5c8001d85c2..d956094a1d920 100644 --- a/TSRM/tsrm.m4 +++ b/TSRM/tsrm.m4 @@ -10,8 +10,6 @@ if test "$pthreads_working" != "yes"; then AC_MSG_ERROR(Your system seems to lack POSIX threads.) fi -AC_DEFINE(PTHREADS, 1, Whether to use Pthreads) - AC_MSG_CHECKING(for POSIX threads) AC_MSG_RESULT(yes) ]) diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS index 5c9bd91a81cf1..5efce2c6971d3 100644 --- a/UPGRADING.INTERNALS +++ b/UPGRADING.INTERNALS @@ -137,6 +137,7 @@ PHP 8.4 INTERNALS UPGRADE NOTES - Symbol HAVE_LIBPQ has been removed. - Symbols HAVE_LIBRT and HAVE_TIMER_CREATE removed. - Symbols PHP_FPM_SYSTEMD, PHP_FPM_USER, and PHP_FPM_GROUP removed. + - Symbol PTHREADS has been removed. - M4 macro PHP_DEFINE (atomic includes) removed (use AC_DEFINE and config.h). - M4 macro PHP_WITH_SHARED has been removed (use PHP_ARG_WITH). - M4 macro PHP_STRUCT_FLOCK has been removed (use AC_CHECK_TYPES).