mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 10:22:05 -05:00
LibGfx: Fix build on NetBSD
NetBSD provides its own popcount() function. (cherry picked from commit c99674c6ac362508838efbc0ef58a9dfe8779890)
This commit is contained in:
parent
272bc8a803
commit
e81705c9a5
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ namespace Detail {
|
|||
static auto constexpr coverage_lut = [] {
|
||||
Array<u8, 256> coverage_lut {};
|
||||
for (u32 sample = 0; sample <= 255; sample++)
|
||||
coverage_lut[sample] = popcount(sample);
|
||||
coverage_lut[sample] = AK::popcount(sample);
|
||||
return coverage_lut;
|
||||
}();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue