2017-03-26 10:39:28 +00:00
|
|
|
pub use @import("../os/errno.zig");
|
2017-05-01 17:12:38 +00:00
|
|
|
const builtin = @import("builtin");
|
|
|
|
const Os = builtin.Os;
|
2017-03-23 06:59:58 +00:00
|
|
|
|
2017-05-01 17:12:38 +00:00
|
|
|
pub use switch(builtin.os) {
|
2017-03-26 10:39:28 +00:00
|
|
|
Os.linux => @import("linux.zig"),
|
|
|
|
Os.windows => @import("windows.zig"),
|
|
|
|
Os.darwin, Os.macosx, Os.ios => @import("darwin.zig"),
|
2017-03-23 06:59:58 +00:00
|
|
|
else => empty_import,
|
|
|
|
};
|
|
|
|
|
2017-03-26 08:58:48 +00:00
|
|
|
pub extern fn abort() -> noreturn;
|
2017-03-23 06:59:58 +00:00
|
|
|
|
|
|
|
|
2017-03-26 10:39:28 +00:00
|
|
|
const empty_import = @import("../empty.zig");
|