HomePhabricator

[backport#12573] Fix compilation when compiler do not support __builtin_clz*

Description

[backport#12573] Fix compilation when compiler do not support __builtin_clz*

Summary:
18307849b Consensus: Fix bug when compiler do not support __builtin_clz* (532479301)

Pull request description:

#ifdef is not correct since defination is defined to 0 or 1. Should change to #if

Backport of Core PR12573

Test Plan:

ninja all check check-functional

Reviewers: #bitcoin_abc, PiRK

Reviewed By: PiRK

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

Details

Provenance
Wladimir J. van der Laan <laanwj@gmail.com>Authored on Mar 5 2018, 17:36
majcostaCommitted on Oct 31 2020, 20:14
majcostaPushed on Oct 31 2020, 20:14
Reviewer
PiRK
Differential Revision
D8208: [backport#12573] Fix compilation when compiler do not support __builtin_clz*
Parents
rABCe041c1c86b8e: [backport#12452] docs: clarified systemd installation instructions in init.md…
Branches
Unknown
Tags
Unknown