mirror of https://github.com/PCSX2/pcsx2.git
common: Fix build error with clang 9. (#3123)
clang 9 now provides _rotr and _rotl.
This commit is contained in:
parent
45687cd51a
commit
d943870413
|
@ -68,7 +68,7 @@ static __inline__ __attribute__((always_inline)) unsigned long long xgetbv(unsig
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Rotate instruction
|
// Rotate instruction
|
||||||
#if defined(__clang__)
|
#if defined(__clang__) && __clang_major__ < 9
|
||||||
// Seriously what is so complicated to provided this bunch of intrinsics in clangs.
|
// Seriously what is so complicated to provided this bunch of intrinsics in clangs.
|
||||||
[[maybe_unused]] static unsigned int _rotr(unsigned int x, int s)
|
[[maybe_unused]] static unsigned int _rotr(unsigned int x, int s)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue