mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
std.Io.Threaded: make is_musl linux-only
This commit is contained in:
parent
85053a6a36
commit
103467fa6c
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ const Threaded = @This();
|
||||||
const builtin = @import("builtin");
|
const builtin = @import("builtin");
|
||||||
const native_os = builtin.os.tag;
|
const native_os = builtin.os.tag;
|
||||||
const is_windows = native_os == .windows;
|
const is_windows = native_os == .windows;
|
||||||
const is_musl = builtin.link_libc and builtin.abi.isMusl();
|
const is_musl = native_os == .linux and builtin.link_libc and builtin.abi.isMusl();
|
||||||
const windows = std.os.windows;
|
const windows = std.os.windows;
|
||||||
const ws2_32 = std.os.windows.ws2_32;
|
const ws2_32 = std.os.windows.ws2_32;
|
||||||
const is_debug = builtin.mode == .Debug;
|
const is_debug = builtin.mode == .Debug;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue