diff options
author | darkf <lw9k123@gmail.com> | 2014-12-29 19:59:14 -0800 |
---|---|---|
committer | darkf <lw9k123@gmail.com> | 2014-12-29 20:12:03 -0800 |
commit | 5d10b212ecebb15fb1463edc08c725d8e29fa44a (patch) | |
tree | 206a1417e59815789eca81249734b0eb5497d5e3 /src/common/string_util.cpp | |
parent | 8ba9ac0f74abb0408a26207a76a0c1808bad8de0 (diff) |
Fix MSVC-related #defines and add CMakeLists comment
Diffstat (limited to 'src/common/string_util.cpp')
-rw-r--r-- | src/common/string_util.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/string_util.cpp b/src/common/string_util.cpp index 0dd2d2349c..b3b772bd9b 100644 --- a/src/common/string_util.cpp +++ b/src/common/string_util.cpp @@ -7,7 +7,7 @@ #include "common/common.h" #include "common/string_util.h" -#ifdef MSVC_VER +#ifdef _MSC_VER #include <Windows.h> #include <codecvt> #else @@ -45,7 +45,7 @@ bool CharArrayFromFormatV(char* out, int outsize, const char* format, va_list ar { int writtenCount; -#ifdef MSVC_VER +#ifdef _MSC_VER // You would think *printf are simple, right? Iterate on each character, // if it's a format specifier handle it properly, etc. // @@ -410,7 +410,7 @@ std::string UriEncode(const std::string & sSrc) return sResult; } -#ifdef MSVC_VER +#ifdef _MSC_VER std::string UTF16ToUTF8(const std::u16string& input) { |