mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
aro: define arch macros for s390x
This commit is contained in:
parent
a319211eee
commit
959a3612c2
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});
|
try w.print("#define __wasm_{s}__ 1\n", .{feature.name});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
.s390x => {
|
||||||
|
try define(w, "__s390__");
|
||||||
|
try define(w, "__s390x__");
|
||||||
|
try define(w, "__zarch__");
|
||||||
|
},
|
||||||
else => {},
|
else => {},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user