generate_linux_syscalls: Rename mmap_pgoff to mmap2.

This commit is contained in:
Alex Rønne Petersen
2024-10-02 08:14:54 +02:00
parent fe30df6b8c
commit 8060fad425
2 changed files with 4 additions and 2 deletions

View File

@@ -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.