Fix GH issue 12208 (#12224)

This commit is contained in:
Dmitri Smirnov 2022-07-19 10:03:43 -07:00 committed by GitHub
parent 2cb642927b
commit 555e88982f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,7 @@
#ifdef _MSC_VER
#include <codecvt>
#include <locale.h>
#elif defined(__APPLE__) or defined(__ANDROID__)
#elif defined(__APPLE__) || defined(__ANDROID__)
#include <codecvt>
#else
#include <limits>
@ -110,7 +110,7 @@ class Locale {
std::locale loc_;
};
#if defined(__APPLE__) or defined(__ANDROID__)
#if defined(__APPLE__) || defined(__ANDROID__)
using Utf8Converter = std::wstring_convert<std::codecvt_utf8<wchar_t>>;
#else