diff options
| author | Ties Stuij <ties.stuij@arm.com> | 2024-07-23 14:09:34 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-23 14:09:34 +0100 |
| commit | ec56790c3b27df4fa1513594ca9a74fd8ad5bf7f (patch) | |
| tree | 5796ae7b17172f5f166176b946577f02f50eb8b1 /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface | |
| parent | cc7308a1563e5ebab4dffeb85deefdde61e6711a (diff) | |
[libcxx] don't `#include <cwchar>` if wide chars aren't enabled (#99911)
Pull request #96032 unconditionall adds the `cwchar` include in the
`format` umbrella header. However support for wchar_t can be disabled in
the build system (LIBCXX_ENABLE_WIDE_CHARACTERS).
This patch guards against inclusion of `cwchar` in `format` by checking
the `_LIBCPP_HAS_NO_WIDE_CHARACTERS` define.
For clarity I've also merged the include header section that `cwchar`
was in with the one above as they were both guarded by the same `#if`
logic.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface')
0 files changed, 0 insertions, 0 deletions
