[pecl-networking-ssh2] fix-channel-close-timeout: Fix PHP 8.1 Windows CI - missed check in PR #89

From: Date: Sat, 11 Apr 2026 03:19:58 +0000
Subject: [pecl-networking-ssh2] fix-channel-close-timeout: Fix PHP 8.1 Windows CI - missed check in PR #89
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-28532@lists.php.net to get a copy of this message
Author: Rasmus Lerdorf (rlerdorf) Date: 2026-04-10T23:19:52-04:00 Commit: https://github.com/php/pecl-networking-ssh2/commit/0fc2b92690f609f26b413ded8197227ef8ec8671 Raw diff: https://github.com/php/pecl-networking-ssh2/commit/0fc2b92690f609f26b413ded8197227ef8ec8671.diff Fix PHP 8.1 Windows CI - missed check in PR #89 Changed paths: M config.w32 Diff: diff --git a/config.w32 b/config.w32 index 760ea12..b1164f4 100644 --- a/config.w32 +++ b/config.w32 @@ -39,7 +39,9 @@ if (PHP_SSH2 != "no") { AC_DEFINE('PHP_SSH2_AGENT_AUTH', 1); AC_DEFINE('PHP_SSH2_SESSION_TIMEOUT', 1); AC_DEFINE('PHP_SSH2_KEEPALIVE', 1); - AC_DEFINE('PHP_SSH2_CHANNEL_SIGNAL', 1); + if (CHECK_FUNC_IN_HEADER("libssh2.h", "libssh2_channel_signal_ex", "ssh2")) { + AC_DEFINE('PHP_SSH2_CHANNEL_SIGNAL', 1); + } ADD_EXTENSION_DEP('ssh2', 'zlib') ADD_EXTENSION_DEP('ssh2', 'openssl') }

« previous php.pecl.cvs (#28532) next »