diff options
| author | Chris Webb <chris@arachsys.com> | 2024-08-23 09:18:52 +0100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2024-08-24 14:36:09 +1000 |
| commit | 193d4ba0234d7ab8e8afc2e6bfcbaf7d3d228491 (patch) | |
| tree | 9be5d36efb8031e1d27600fb60d490431337f885 /src/input_handler.cc | |
| parent | 29d0596c715d5f74e2fc8cef6d60d7256c8b0307 (diff) | |
Add back <cwchar> for wcwidth in src/unicode.hh
On a musl system with clang 18.1.8 linking against libc++, 64ed046e breaks
the build with
src/unicode.hh:105:24: error: use of undeclared identifier 'wcwidth'
105 | const auto width = wcwidth((wchar_t)c);
though this doesn't happen on the same system with gcc 14.2.0 linking
against libstdc++.
Include <cwchar> again so wcwidth() is properly defined.
Diffstat (limited to 'src/input_handler.cc')
0 files changed, 0 insertions, 0 deletions
