mirror of
https://github.com/RPCS3/rpcs3
synced 2024-11-02 10:51:44 +00: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
|
||||
#endif
|
||||
|
||||
#define SAFE_BUFFERS
|
||||
#define SAFE_BUFFERS __attribute__((no_stack_protector))
|
||||
#define NEVER_INLINE __attribute__((noinline))
|
||||
#define FORCE_INLINE __attribute__((always_inline)) inline
|
||||
#define RESTRICT __restrict__
|
||||
|
|
Loading…
Reference in a new issue