diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2025-02-22 17:03:24 -0800 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-02-22 17:09:20 -0800 |
| commit | eb3c7f570601a6e00cbf03f0a026b3493887a534 (patch) | |
| tree | e621eb6aa4ab49bb72018d33c373b258f55922df /lib/std/c.zig | |
| parent | c0c911bfa78ea2968cd110ad64a4ba0d70ca93e5 (diff) | |
| download | zig-eb3c7f570601a6e00cbf03f0a026b3493887a534.tar.gz zig-eb3c7f570601a6e00cbf03f0a026b3493887a534.zip | |
zig build fmt
Diffstat (limited to 'lib/std/c.zig')
| -rw-r--r-- | lib/std/c.zig | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/std/c.zig b/lib/std/c.zig index 498e7d14ca..9b7d36cb32 100644 --- a/lib/std/c.zig +++ b/lib/std/c.zig @@ -9879,10 +9879,10 @@ pub extern "c" fn setlocale(category: LC, locale: ?[*:0]const u8) ?[*:0]const u8 pub const getcontext = if (builtin.target.abi.isAndroid() or builtin.target.os.tag == .openbsd) {} // android bionic and openbsd libc does not implement getcontext -else if (native_os == .linux and builtin.target.abi.isMusl()) - linux.getcontext -else - private.getcontext; + else if (native_os == .linux and builtin.target.abi.isMusl()) + linux.getcontext + else + private.getcontext; pub const max_align_t = if (native_abi == .msvc or native_abi == .itanium) f64 |
