mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 02:44:43 +01:00
generate_linux_syscalls: Rename mmap_pgoff to mmap2.
This commit is contained in:
parent
fe30df6b8c
commit
8060fad425
2 changed files with 4 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue