Page MenuHomePhabricator

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

Authored by majcosta on Oct 31 2020, 02:08.

Details

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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable