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