mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 10:42:36 +01:00
Implement SAFE_BUFFERS as __attribute__((no_stack_protector))
It was doing nothing outside of MSVC. Still seems doing nothing.
This commit is contained in:
parent
471db3219d
commit
b33648fd14
@ -46,7 +46,7 @@
|
|||||||
#define ASSUME(...) do { if (!(__VA_ARGS__)) __builtin_unreachable(); } while (0) // note: the compiler will generate code to evaluate "cond" if the expression is opaque
|
#define ASSUME(...) do { if (!(__VA_ARGS__)) __builtin_unreachable(); } while (0) // note: the compiler will generate code to evaluate "cond" if the expression is opaque
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define SAFE_BUFFERS
|
#define SAFE_BUFFERS __attribute__((no_stack_protector))
|
||||||
#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__
|
#define RESTRICT __restrict__
|
||||||
|
Loading…
Reference in New Issue
Block a user