mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 00:07:43 +00:00
AK: Add #define for [[gnu::no_sanitize_address]]
This lines up with other attribute global #defines
This commit is contained in:
parent
d81f52e529
commit
28987d1b56
1 changed files with 5 additions and 0 deletions
|
@ -40,6 +40,11 @@
|
|||
#endif
|
||||
#define FLATTEN [[gnu::flatten]]
|
||||
|
||||
#ifdef NO_SANITIZE_ADDRESS
|
||||
# undef NO_SANITIZE_ADDRESS
|
||||
#endif
|
||||
#define NO_SANITIZE_ADDRESS [[gnu::no_sanitize_address]]
|
||||
|
||||
#ifndef __serenity__
|
||||
# include <unistd.h>
|
||||
# define PAGE_SIZE sysconf(_SC_PAGESIZE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue