]> git.ipfire.org Git - thirdparty/collectd.git/commit
configure.ac, src/nut.c: detect int types required by NUT API we build against
authorJim Klimov <jimklimov+nut@gmail.com>
Wed, 31 Aug 2022 09:40:01 +0000 (11:40 +0200)
committerMatthias Runge <mrunge@matthias-runge.de>
Thu, 8 Sep 2022 06:58:29 +0000 (08:58 +0200)
commitd409ffa2a64cac3fc2abe2bb86ec3a80cb34d0a6
treef121558176a9ba002ed7f3a90e2171da927b2c25
parent8a07739a7c24cb865de0283af94099fa8a643fed
configure.ac, src/nut.c: detect int types required by NUT API we build against

Either use the stricter int types required by NUT headers since v2.8.0 release,
or the relaxed (arch-dependent) types required by older NUT releases - depending
on which NUT API version the collectd is building against at the moment.

Inspired by discussion at https://github.com/networkupstools/nut/issues/1638
configure.ac
src/nut.c