[pecl-networking-ssh2] master: Fix PHP 8.1 Windows CI - missed check in PR #89

From: Date: Wed, 14 Oct 2026 19:41:34 +0000
Subject: [pecl-networking-ssh2] master: Fix PHP 8.1 Windows CI - missed check in PR #89
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-28693@lists.php.net to get a copy of this message
Author: Rasmus Lerdorf (rlerdorf) Committer: Casper Langemeijer (langemeijer) Date: 2026-10-14T21:41:28+02:00 Commit: https://github.com/php/pecl-networking-ssh2/commit/0437f6b28e1afb24a02e03f66a430b7012f3f478 Raw diff: https://github.com/php/pecl-networking-ssh2/commit/0437f6b28e1afb24a02e03f66a430b7012f3f478.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 (#28693) next »