mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 05:51:27 +12:00
Add RESTRICT macro
Applied as C keyword 'restrict'
This commit is contained in:
parent
92c08be387
commit
db4bc6f6be
1 changed files with 2 additions and 0 deletions
|
@ -33,6 +33,7 @@
|
||||||
#define SAFE_BUFFERS __declspec(safebuffers)
|
#define SAFE_BUFFERS __declspec(safebuffers)
|
||||||
#define NEVER_INLINE __declspec(noinline)
|
#define NEVER_INLINE __declspec(noinline)
|
||||||
#define FORCE_INLINE __forceinline
|
#define FORCE_INLINE __forceinline
|
||||||
|
#define RESTRICT __restrict
|
||||||
|
|
||||||
#else // not _MSC_VER
|
#else // not _MSC_VER
|
||||||
|
|
||||||
|
@ -52,6 +53,7 @@
|
||||||
#define SAFE_BUFFERS
|
#define SAFE_BUFFERS
|
||||||
#define NEVER_INLINE __attribute__((noinline))
|
#define NEVER_INLINE __attribute__((noinline))
|
||||||
#define FORCE_INLINE __attribute__((always_inline)) inline
|
#define FORCE_INLINE __attribute__((always_inline)) inline
|
||||||
|
#define RESTRICT __restrict__
|
||||||
|
|
||||||
#endif // _MSC_VER
|
#endif // _MSC_VER
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue