HomePhabricator

build: add missing leveldb defines

Description

build: add missing leveldb defines

Summary:

src/leveldb/build_detect_platform shows how upstream defines them.

These platform may not be able to fully build or run Bitcoin, but
defining all known to leveldb saves future hassle.

Now that all possible platforms are enumerated, specifying an unknown
one is an error.

Backport of core PR13659
https://github.com/bitcoin/bitcoin/pull/13659/files

Test Plan:

make
ninja

Reviewers: #bitcoin_abc, deadalnix, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

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

Details

Provenance
Cory Fields <cory-nospam-@coryfields.com>Authored on Jul 13 2018, 20:17
FabienCommitted on Aug 8 2019, 08:50
FabienPushed on Aug 8 2019, 08:50
Reviewer
Restricted Project
Differential Revision
D3817: build: add missing leveldb defines
Parents
rABC0c4d36b3425d: Fix leveldb compilation for NetBSD
Branches
Unknown
Tags
Unknown