diff options
| author | Alexey Samsonov <vonosmas@gmail.com> | 2025-10-30 20:30:49 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-30 20:30:49 -0700 |
| commit | 42a8ff877d47131ecb1280a1cc7e5e3c3bca6952 (patch) | |
| tree | 2668fb0369ef3372c9eece2362f4f012b8069b43 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp | |
| parent | 067e20506901d10166235b20f70344310bf716e8 (diff) | |
| download | llvm-42a8ff877d47131ecb1280a1cc7e5e3c3bca6952.zip llvm-42a8ff877d47131ecb1280a1cc7e5e3c3bca6952.tar.gz llvm-42a8ff877d47131ecb1280a1cc7e5e3c3bca6952.tar.bz2 | |
[libc] Add "struct tm" declaration to <wchar.h> (#165795)
`<wchar.h>` should at least include the forward declaration of `struct tm`,
since it's needed for the `wcsftime` declaration (also, see
https://man7.org/linux/man-pages/man0/wchar.h.0p.html).
Even though we don't yet have `wcsftime`, some downstream users (notably
- libcxx) expects to see `struct tm` declaration there, to re-declare it under
`std` namespace:
https://github.com/llvm/llvm-project/blob/c46bfed1a484d30cd251a9a225649d74e3bf0af5/libcxx/include/cwchar#L135
So, add this type declaration to llvm-libc version of `wchar.h` now.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp')
0 files changed, 0 insertions, 0 deletions
