diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2018-05-03 15:03:35 -0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2018-05-03 15:03:35 -0700 |
| commit | 8f0ebdf8d561ef8402db44cd9abb2c912cff276d (patch) | |
| tree | e2ad3858d36ada9c11d56aff73071ed233bc72b0 /toolsrc/include | |
| parent | 6ec3a486332bd50500decee0aeaa166fa37ba8d2 (diff) | |
| download | vcpkg-8f0ebdf8d561ef8402db44cd9abb2c912cff276d.tar.gz vcpkg-8f0ebdf8d561ef8402db44cd9abb2c912cff276d.zip | |
[vcpkg] Remove utf16 usage from non-Windows
Diffstat (limited to 'toolsrc/include')
| -rw-r--r-- | toolsrc/include/vcpkg/base/strings.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/toolsrc/include/vcpkg/base/strings.h b/toolsrc/include/vcpkg/base/strings.h index 4cc17bcf4..e165c69da 100644 --- a/toolsrc/include/vcpkg/base/strings.h +++ b/toolsrc/include/vcpkg/base/strings.h @@ -34,9 +34,11 @@ namespace vcpkg::Strings return details::format_internal(fmtstr, to_printf_arg(to_printf_arg(args))...); } +#if defined(_WIN32) std::wstring to_utf16(const CStringView& s); std::string to_utf8(const wchar_t* w); +#endif std::string escape_string(const CStringView& s, char char_to_escape, char escape_char); |
