mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 14:25:16 +00:00
generate_linux_syscalls: Rename mmap_pgoff to mmap2.
This commit is contained in:
parent
fe30df6b8c
commit
8060fad425
@ -6852,7 +6852,7 @@ pub const Arc = enum(usize) {
|
||||
keyctl = 219,
|
||||
clone = 220,
|
||||
execve = 221,
|
||||
mmap_pgoff = 222,
|
||||
mmap2 = 222,
|
||||
fadvise64_64 = 223,
|
||||
swapon = 224,
|
||||
swapoff = 225,
|
||||
@ -7538,7 +7538,7 @@ pub const Hexagon = enum(usize) {
|
||||
keyctl = 219,
|
||||
clone = 220,
|
||||
execve = 221,
|
||||
mmap_pgoff = 222,
|
||||
mmap2 = 222,
|
||||
fadvise64_64 = 223,
|
||||
swapon = 224,
|
||||
swapoff = 225,
|
||||
|
||||
@ -22,6 +22,8 @@ const stdlib_renames = std.StaticStringMap([]const u8).initComptime(.{
|
||||
// ARM EABI/Thumb.
|
||||
.{ "arm_sync_file_range", "sync_file_range" },
|
||||
.{ "arm_fadvise64_64", "fadvise64_64" },
|
||||
// ARC and Hexagon.
|
||||
.{ "mmap_pgoff", "mmap2" },
|
||||
});
|
||||
|
||||
// Only for newer architectures where we use the C preprocessor.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user