Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ext/snmp for newer net-snmp versions on Windows (GH-15888)
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.
- Loading branch information