aboutsummaryrefslogtreecommitdiff
path: root/absl/base/internal/direct_mmap.h
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2021-12-20 08:44:32 -0800
committerGennadiy Rozental <rogeeff@google.com>2021-12-20 19:17:38 +0000
commitf523d0dd69806d8057a898bb2595910558156aaa (patch)
treed9d11b6417c37ad1e83627e89010c2b7fed51a67 /absl/base/internal/direct_mmap.h
parent52d41a9ec23e39db7e2cbce5c9449506cf2d3a5c (diff)
downloadabseil-f523d0dd69806d8057a898bb2595910558156aaa.tar.gz
abseil-f523d0dd69806d8057a898bb2595910558156aaa.tar.bz2
abseil-f523d0dd69806d8057a898bb2595910558156aaa.zip
Export of internal Abseil changes
-- 1e25fb5996193524bf2f75781f1e6bdcdf972a3a by Gennadiy Rozental <rogeeff@google.com>: Introduce enums to represent lower and upper thresholds for LogSeverity. PiperOrigin-RevId: 417414673 -- abfddb3a6ad8ce4849fbb6dadb34d7d6295def0f by Abseil Team <absl-team@google.com>: Restore __arch64__ macro check for SPARC PiperOrigin-RevId: 416798208 PiperOrigin-RevId: 416688543 GitOrigin-RevId: 1e25fb5996193524bf2f75781f1e6bdcdf972a3a Change-Id: I424dd98e5e07420d5f9dfd191f2bfc06036e2bd1
Diffstat (limited to 'absl/base/internal/direct_mmap.h')
-rw-r--r--absl/base/internal/direct_mmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/base/internal/direct_mmap.h b/absl/base/internal/direct_mmap.h
index 7037094b..274054cd 100644
--- a/absl/base/internal/direct_mmap.h
+++ b/absl/base/internal/direct_mmap.h
@@ -80,7 +80,7 @@ inline void* DirectMmap(void* start, size_t length, int prot, int flags, int fd,
(defined(__PPC__) && !defined(__PPC64__)) || \
(defined(__riscv) && __riscv_xlen == 32) || \
(defined(__s390__) && !defined(__s390x__)) || \
- (defined(__sparc__) && !defined(__aarch64__))
+ (defined(__sparc__) && !defined(__arch64__))
// On these architectures, implement mmap with mmap2.
static int pagesize = 0;
if (pagesize == 0) {