mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
aro: define arch macros for s390x
This commit is contained in:
parent
a319211eee
commit
959a3612c2
1 changed files with 5 additions and 0 deletions
5
lib/compiler/aro/aro/Compilation.zig
vendored
5
lib/compiler/aro/aro/Compilation.zig
vendored
|
|
@ -774,6 +774,11 @@ fn generateSystemDefines(comp: *Compilation, w: *Io.Writer) !void {
|
|||
try w.print("#define __wasm_{s}__ 1\n", .{feature.name});
|
||||
}
|
||||
},
|
||||
.s390x => {
|
||||
try define(w, "__s390__");
|
||||
try define(w, "__s390x__");
|
||||
try define(w, "__zarch__");
|
||||
},
|
||||
else => {},
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue