mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
Merge pull request #20640 from BratishkaErik/std.c/setlocale-fix
std.c: setlocale fixes
This commit is contained in:
commit
4e6518badb
1 changed files with 2 additions and 1 deletions
|
|
@ -1912,9 +1912,10 @@ pub const LC = enum(c_int) {
|
||||||
TELEPHONE = 10,
|
TELEPHONE = 10,
|
||||||
MEASUREMENT = 11,
|
MEASUREMENT = 11,
|
||||||
IDENTIFICATION = 12,
|
IDENTIFICATION = 12,
|
||||||
|
_,
|
||||||
};
|
};
|
||||||
|
|
||||||
pub extern "c" fn setlocale(category: LC, locale: ?[*:0]const u8) [*:0]const u8;
|
pub extern "c" fn setlocale(category: LC, locale: ?[*:0]const u8) ?[*:0]const u8;
|
||||||
|
|
||||||
pub const getcontext = if (builtin.target.isAndroid())
|
pub const getcontext = if (builtin.target.isAndroid())
|
||||||
@compileError("android bionic libc does not implement getcontext")
|
@compileError("android bionic libc does not implement getcontext")
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue