mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 14:01:25 +12: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue