mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-16 11:48:36 +12:00
Add dummy __has_builtin macro, use rotate builtins if possible
This commit is contained in:
parent
765d15f23f
commit
7f6a410770
3 changed files with 36 additions and 11 deletions
|
@ -20,6 +20,10 @@
|
|||
#define IS_LE_MACHINE 1
|
||||
#define IS_BE_MACHINE 0
|
||||
|
||||
#ifndef __has_builtin
|
||||
#define __has_builtin(x) 0
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
|
||||
#define ASSUME(...) __assume(__VA_ARGS__) // MSVC __assume ignores side-effects
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue