diff --git a/Global.h b/Global.h index 506f0fc51..b651e938c 100644 --- a/Global.h +++ b/Global.h @@ -191,7 +191,7 @@ static_assert(sizeof(bool) == 1, "Bool needs to be 1 byte in size."); #include #include #include -#ifndef VCMI_ANDROID +#ifdef VCMI_WINDOWS #include #endif #include diff --git a/lib/VCMIDirs.cpp b/lib/VCMIDirs.cpp index e311ca9f7..1c20f2a6a 100644 --- a/lib/VCMIDirs.cpp +++ b/lib/VCMIDirs.cpp @@ -654,7 +654,7 @@ namespace VCMIDirs static bool initialized = false; if (!initialized) { - #ifndef VCMI_ANDROID + #ifdef VCMI_WINDOWS std::locale::global(boost::locale::generator().generate("en_US.UTF-8")); #endif boost::filesystem::path::imbue(std::locale());