Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit dba56c7

Browse files
Merge pull request #2381 from ibuclaw/mvversion
core.sys.linux.sys.mman: Group all CPU versions together
2 parents 4fd4fa3 + 9b9aac0 commit dba56c7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/core/sys/linux/sys/mman.d

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ version (MIPS32) version = MIPS_Any;
1717
version (MIPS64) version = MIPS_Any;
1818
version (PPC) version = PPC_Any;
1919
version (PPC64) version = PPC_Any;
20+
version (RISCV32) version = RISCV_Any;
21+
version (RISCV64) version = RISCV_Any;
2022
version (S390) version = IBMZ_Any;
2123
version (SPARC) version = SPARC_Any;
2224
version (SPARC64) version = SPARC_Any;
@@ -27,9 +29,6 @@ version (X86_64) version = X86_Any;
2729
public import core.sys.posix.sys.mman;
2830
import core.sys.linux.config;
2931

30-
version (RISCV32) version = RISCV_Any;
31-
version (RISCV64) version = RISCV_Any;
32-
3332
// <bits/mman.h>
3433
// http://sourceware.org/git/?p=glibc.git;a=blob;hb=51e945a8f950a6695754b11c1e6fba8bb750e100;f=sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3534
version (PPC_Any)

0 commit comments

Comments
 (0)