mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 05:10:29 -04:00
11 lines
573 B
C++
11 lines
573 B
C++
--- base/allocator/dispatcher/tls.h.orig 2024-04-23 07:42:17 UTC
|
|
+++ base/allocator/dispatcher/tls.h
|
|
@@ -76,7 +76,7 @@ struct BASE_EXPORT MMapAllocator {
|
|
constexpr static size_t AllocationChunkSize = 16384;
|
|
#elif BUILDFLAG(IS_ANDROID) && defined(ARCH_CPU_64_BITS)
|
|
constexpr static size_t AllocationChunkSize = 16384;
|
|
-#elif BUILDFLAG(IS_LINUX) && defined(ARCH_CPU_ARM64)
|
|
+#elif (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(ARCH_CPU_ARM64)
|
|
constexpr static size_t AllocationChunkSize = 16384;
|
|
#else
|
|
constexpr static size_t AllocationChunkSize = 4096;
|