mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-12 20:42:21 +00:00
LibC: Forward-declare struct tm
in wchar.h
The C standard specifies that this forward-declaration be present in wchar.h, and is needed in order to build libstdc++.
This commit is contained in:
parent
20986b7066
commit
b5fcb10493
Notes:
sideshowbarker
2024-07-18 02:15:54 +09:00
Author: https://github.com/BertalanD
Commit: b5fcb10493
Pull-request: https://github.com/SerenityOS/serenity/pull/9378
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/itamar8910
Reviewed-by: https://github.com/linusg ✅
Reviewed-by: https://github.com/nico
Reviewed-by: https://github.com/timschumi
1 changed files with 2 additions and 0 deletions
|
@ -24,6 +24,8 @@ typedef struct {
|
||||||
unsigned int stored_bytes;
|
unsigned int stored_bytes;
|
||||||
} mbstate_t;
|
} mbstate_t;
|
||||||
|
|
||||||
|
struct tm;
|
||||||
|
|
||||||
size_t wcslen(const wchar_t*);
|
size_t wcslen(const wchar_t*);
|
||||||
wchar_t* wcscpy(wchar_t*, const wchar_t*);
|
wchar_t* wcscpy(wchar_t*, const wchar_t*);
|
||||||
wchar_t* wcsncpy(wchar_t*, const wchar_t*, size_t);
|
wchar_t* wcsncpy(wchar_t*, const wchar_t*, size_t);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue