forked from amazingfate/loongoffice
Change-Id: I618095efab0a7ed7babdabc36db6a473b1af78da Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115161 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 01765acee6b4931b6c69252b8357f81fd26e33bd) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115090 Tested-by: Jenkins
17 lines
734 B
Groff
17 lines
734 B
Groff
diff -Naur pdfium.org/third_party/base/allocator/partition_allocator/page_allocator_internals_posix.h pdfium/third_party/base/allocator/partition_allocator/page_allocator_internals_posix.h
|
|
--- pdfium.org/third_party/base/allocator/partition_allocator/page_allocator_internals_posix.h 2021-05-05 23:01:25.705057178 +0200
|
|
+++ 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)
|
|
#include <sys/prctl.h>
|
|
+#ifndef PR_SET_VMA
|
|
+#define PR_SET_VMA 0x53564d41
|
|
+#endif
|
|
+#ifndef PR_SET_VMA_ANON_NAME
|
|
+#define PR_SET_VMA_ANON_NAME 0
|
|
+#endif
|
|
#endif
|
|
#if defined(OS_LINUX) || defined(OS_CHROMEOS)
|
|
#include <sys/resource.h>
|