commit 92bc802033ec7c206ae3a10c94cc67d85c4b9104 (tree)
parent fcbb192b4909ecbaedc7a148e8006ba6e57c06b8
Author: Alex Rønne Petersen <alex@alexrp.com>
Date: Sun, 21 Jul 2024 22:55:12 +0200
std.os.linux: Also define MAP for armeb and thumbeb.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/std/os/linux.zig b/lib/std/os/linux.zig
@@ -142,7 +142,7 @@ pub const MAP = switch (native_arch) {
UNINITIALIZED: bool = false,
_: u5 = 0,
},
- .aarch64, .aarch64_be, .arm, .thumb => packed struct(u32) {
+ .aarch64, .aarch64_be, .arm, .armeb, .thumb, .thumbeb => packed struct(u32) {
TYPE: MAP_TYPE,
FIXED: bool = false,
ANONYMOUS: bool = false,