diff options
Diffstat (limited to 'external/pdfium/AndroidNDK19.patch.1')
-rw-r--r-- | external/pdfium/AndroidNDK19.patch.1 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/external/pdfium/AndroidNDK19.patch.1 b/external/pdfium/AndroidNDK19.patch.1 index b0d1f0deae80..f0d926f555d8 100644 --- a/external/pdfium/AndroidNDK19.patch.1 +++ b/external/pdfium/AndroidNDK19.patch.1 @@ -3,7 +3,7 @@ diff -Naur pdfium.org/third_party/base/allocator/partition_allocator/page_alloca +++ pdfium/third_party/base/allocator/partition_allocator/page_allocator_internals_posix.h 2021-05-05 23:06:52.194081762 +0200 @@ -15,6 +15,12 @@ #endif - #if defined(OS_ANDROID) + #if BUILDFLAG(IS_ANDROID) #include <sys/prctl.h> +#ifndef PR_SET_VMA +#define PR_SET_VMA 0x53564d41 @@ -12,5 +12,5 @@ diff -Naur pdfium.org/third_party/base/allocator/partition_allocator/page_alloca +#define PR_SET_VMA_ANON_NAME 0 +#endif #endif - #if defined(OS_LINUX) || defined(OS_CHROMEOS) + #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) #include <sys/resource.h> |