1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-10-31 00:07:39 +02:00

fix boost.locale crash on macOS-arm64

This commit is contained in:
Andrey Filipenkov
2021-03-02 03:10:00 +03:00
committed by Arseniy Shestakov
parent 094486eec1
commit bc1d99431d
2 changed files with 2 additions and 2 deletions

View File

@@ -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());