summaryrefslogtreecommitdiff
path: root/user/cbindgen/ppc-libc-hugetlb.patch
blob: 8a1bfe78dea8885c8cd4aef553c1353ae4af1ec3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
diff -ur a/src/unix/linux_like/linux/musl/b32/powerpc.rs b/src/unix/linux_like/linux/musl/b32/powerpc.rs
--- a/libc-0.2.144/src/unix/linux_like/linux/musl/b32/powerpc.rs	2024-09-02 00:25:08.560000000 +0000
+++ b/libc-0.2.144/src/unix/linux_like/linux/musl/b32/powerpc.rs	2024-09-02 00:25:41.080000000 +0000
@@ -377,8 +377,6 @@
 
 pub const EXTPROC: ::tcflag_t = 0x10000000;
 
-pub const MAP_HUGETLB: ::c_int = 0x040000;
-
 pub const F_GETLK: ::c_int = 12;
 pub const F_GETOWN: ::c_int = 9;
 pub const F_SETLK: ::c_int = 13;