mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-05-15 16:20:14 -05:00
mingw: allow WStringToUTF8 usage
This commit is contained in:
parent
d05caf094d
commit
62a6a76bf4
|
|
@ -591,7 +591,7 @@ std::filesystem::path StringToPath(std::string_view path)
|
|||
// path::u8string returns std::u8string starting with C++20, which is annoying to convert.
|
||||
std::string PathToString(const std::filesystem::path& path)
|
||||
{
|
||||
#ifdef _MSC_VER
|
||||
#ifdef _WIN32
|
||||
return WStringToUTF8(path.native());
|
||||
#else
|
||||
return path.native();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user