mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 01:38:37 +12:00
Replace utils::cnttz{32,64} with std::countr_{zero,one}
Make #include <bit> mandatory.
This commit is contained in:
parent
adfc9d93c3
commit
d0c199d455
10 changed files with 15 additions and 37 deletions
|
@ -17,9 +17,12 @@
|
|||
#include <limits>
|
||||
#include <array>
|
||||
|
||||
#if __has_include(<bit>)
|
||||
#include <bit>
|
||||
#ifdef _MSC_VER
|
||||
#ifndef __cpp_lib_bitops
|
||||
#define __cpp_lib_bitops
|
||||
#endif
|
||||
#endif
|
||||
#include <bit>
|
||||
|
||||
#ifndef __has_builtin
|
||||
#define __has_builtin(x) 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue