[php-src] PR #15888: Fix ext/snmp for newer net-snmp versions on Windows
| From: | cmb69 | Date: | Sat, 14 Sep 2024 15:58:18 +0000 |
| Subject: | [php-src] PR #15888: Fix ext/snmp for newer net-snmp versions on Windows | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-28598@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/15888
Author: cmb69
As of net-snmp 5.8.0, the library defines their own
(v)asprintf() if not available on
the system. However, PHP also does this, so when building ext/snmp there would be conflicting
declarations on Windows. To avoid this, we explictly define HAVE_ASPRINTF, so net-snmp
does not redeclare when its headers are included.