diff options
author | bunnei <bunneidev@gmail.com> | 2016-11-16 02:07:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-16 02:07:23 +0100 |
commit | fb13bfe693e9536df700b675fef3affe09622fdd (patch) | |
tree | 133bc7a610f8ae94a5381f8c8aaba6a6050d7ac1 /src/common/string_util.cpp | |
parent | Merge pull request #1753 from jroweboy/frame_layouts (diff) | |
parent | Add mingw compile support (diff) | |
download | yuzu-fb13bfe693e9536df700b675fef3affe09622fdd.tar yuzu-fb13bfe693e9536df700b675fef3affe09622fdd.tar.gz yuzu-fb13bfe693e9536df700b675fef3affe09622fdd.tar.bz2 yuzu-fb13bfe693e9536df700b675fef3affe09622fdd.tar.lz yuzu-fb13bfe693e9536df700b675fef3affe09622fdd.tar.xz yuzu-fb13bfe693e9536df700b675fef3affe09622fdd.tar.zst yuzu-fb13bfe693e9536df700b675fef3affe09622fdd.zip |
Diffstat (limited to '')
-rw-r--r-- | src/common/string_util.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/common/string_util.cpp b/src/common/string_util.cpp index 596ae01bf..df1008180 100644 --- a/src/common/string_util.cpp +++ b/src/common/string_util.cpp @@ -11,7 +11,8 @@ #include "common/common_paths.h" #include "common/logging/log.h" #include "common/string_util.h" -#ifdef _MSC_VER + +#ifdef _WIN32 #include <codecvt> #include <Windows.h> #include "common/common_funcs.h" @@ -270,7 +271,7 @@ std::string ReplaceAll(std::string result, const std::string& src, const std::st return result; } -#ifdef _MSC_VER +#ifdef _WIN32 std::string UTF16ToUTF8(const std::u16string& input) { #if _MSC_VER >= 1900 |