HomePhabricator

build: avoid getifaddrs when unavailable

Authored by Cory Fields <cory-nospam-@coryfields.com> on Jul 19 2018, 18:21.

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

Committed
FabienAug 11 2019, 08:02
Pushed
FabienAug 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

Event Timeline