mirror of
https://github.com/libretro/pcsx2.git
synced 2024-11-28 20:00:44 +00:00
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
|
||||
|
||||
// Rotate instruction
|
||||
#if defined(__clang__)
|
||||
#if defined(__clang__) && __clang_major__ < 9
|
||||
// Seriously what is so complicated to provided this bunch of intrinsics in clangs.
|
||||
[[maybe_unused]] static unsigned int _rotr(unsigned int x, int s)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user