[GIT-PULLS] [php-src] PR #23419: Fix SNMP build with modern Net-SNMP API

[email protected] (shivammathur)
Newsgroups php.git-pulls
Message-ID <[email protected]>
Pull Request: https://github.com/php/php-src/pull/23419
Author: shivammathur

Follow-up to #21452.

This fixes the SNMP build with newer Net-SNMP configurations that define `NETSNMP_NO_LEGACY_DEFINITIONS` like macOS, while retaining compatibility with older versions.

Ref: https://github.com/net-snmp/net-snmp/commit/73e5d1378a594a353b0df3be2200976863d7c556
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.