HomePhabricator

build: avoid getifaddrs when unavailable

Description

build: avoid getifaddrs when unavailable

Summary:

These changes from @theuni help building when targeting platforms that
don't always have getifaddrs available like Android < 24

Backport of core PR14127
https://github.com/bitcoin/bitcoin/pull/14127/files

Test Plan:

make check
ninja check

Reviewers: #bitcoin_abc, deadalnix, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Differential Revision: https://reviews.bitcoinabc.org/D3824

Details

Provenance
Cory Fields <cory-nospam-@coryfields.com>Authored on Jul 19 2018, 18:21
FabienCommitted on Aug 11 2019, 08:02
FabienPushed on Aug 11 2019, 08:02
Reviewer
Restricted Project
Differential Revision
D3824: build: avoid getifaddrs when unavailable
Parents
rABC1ffdfb7e1271: build: Enable -Wredundant-decls where available
Branches
Unknown
Tags
Unknown