diff --git a/CMakeLists.txt b/CMakeLists.txt index 7d82c0910..8e95d3409 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -50,9 +50,9 @@ find_package(Freetype REQUIRED) find_package(FreeImage REQUIRED) find_package(SDL2 REQUIRED) if(MSVC) -find_package(Boost REQUIRED COMPONENTS system date_time locale) +find_package(Boost REQUIRED COMPONENTS system date_time) else() -find_package(Boost REQUIRED COMPONENTS system filesystem date_time locale) +find_package(Boost REQUIRED COMPONENTS system filesystem date_time) endif() find_package(CURL REQUIRED) find_package(VLC REQUIRED) diff --git a/es-app/src/main.cpp b/es-app/src/main.cpp index 2fc749ded..e2352ae19 100644 --- a/es-app/src/main.cpp +++ b/es-app/src/main.cpp @@ -20,7 +20,6 @@ #include "Settings.h" #include "ScraperCmdLine.h" #include -#include #include #ifdef WIN32 @@ -182,7 +181,7 @@ int main(int argc, char* argv[]) unsigned int width = 0; unsigned int height = 0; - std::locale::global(boost::locale::generator().generate("")); + std::locale::global(std::locale(std::locale(""), "C", std::locale::numeric)); boost::filesystem::path::imbue(std::locale()); if(!parseArgs(argc, argv, &width, &height)) diff --git a/es-core/src/guis/GuiDetectDevice.cpp b/es-core/src/guis/GuiDetectDevice.cpp index 536553705..80f79fb38 100644 --- a/es-core/src/guis/GuiDetectDevice.cpp +++ b/es-core/src/guis/GuiDetectDevice.cpp @@ -10,7 +10,6 @@ #include #include "Util.h" #include -#include #define HOLD_TIME 1000