diff options
author | Steven Moreland <smoreland@google.com> | 2024-02-27 00:34:25 +0000 |
---|---|---|
committer | Steven Moreland <smoreland@google.com> | 2024-02-28 21:34:42 +0000 |
commit | f6e9904fa970e9b583d48666988dcc35e871ce1a (patch) | |
tree | e7e130f4ac903f16f07aa4b7146d19bf814ebce9 | |
parent | 15299909381c00ea5f2c398ffea7ac6f38080500 (diff) | |
download | bionic-f6e9904fa970e9b583d48666988dcc35e871ce1a.tar.gz |
Add ..DEPRECATED_PAGE_SIZE macro
When 'no page size' is turned on (especially if it is turned
on by default in some environments), we need a way to turn
it off, thus restoring the old behavior.
Bug: 312546062
Change-Id: I411cff621246b6ba40e70bb51234f3886ba9527a
Test: N/A
-rw-r--r-- | libc/include/bits/page_size.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/include/bits/page_size.h b/libc/include/bits/page_size.h index ca434e568..df0cb7fcc 100644 --- a/libc/include/bits/page_size.h +++ b/libc/include/bits/page_size.h @@ -32,7 +32,7 @@ __BEGIN_DECLS -#if !defined(__BIONIC_NO_PAGE_SIZE_MACRO) +#if !defined(__BIONIC_NO_PAGE_SIZE_MACRO) || defined(__BIONIC_DEPRECATED_PAGE_SIZE_MACRO) #define PAGE_SIZE 4096 #define PAGE_MASK (~(PAGE_SIZE - 1)) #endif |