authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-07-31 11:17:25-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-07-31 11:17:25-07:00
logc9de5304ab250c3b55fc6f8d0502eba51c342c67
tree0cd7669370cb45e8422bdc8cc0574d3bc112c26d
parent70a7210e923ebc796d13cef8fdb4080db90be4b8

Revert "std.c:complete further more netbsd's mmap flags"

This reverts commit 4f248e1b519b001cee67e461068245c142d38e73.

1 files changed, 0 insertions(+), 11 deletions(-)

lib/std/c/netbsd.zig-11
......@@ -603,17 +603,6 @@ pub const MAP = struct {
603603 pub const ANON = 0x1000;
604604 pub const ANONYMOUS = ANON;
605605 pub const STACK = 0x2000;
606
607 pub const ALIGNMENT_SHIFT = 24;
608 pub fn ALIGNED(n: u32) u32 {
609 return n << ALIGNMENT_SHIFT;
610 }
611 pub const ALIGNMENT_64KB = MAP.ALIGNED(0xff);
612 pub const ALIGNMENT_16MB = MAP.ALIGNED(16);
613 pub const ALIGNMENT_4GB = MAP.ALIGNED(32);
614 pub const ALIGNMENT_1TB = MAP.ALIGNED(40);
615 pub const ALIGNMENT_256TB = MAP.ALIGNED(48);
616 pub const ALIGNMENT_64PB = MAP.ALIGNED(56);
617606};
618607
619608pub const MSF = struct {