diff --git a/lib/settings.cpp b/lib/settings.cpp index 01cb373e0..49d992411 100644 --- a/lib/settings.cpp +++ b/lib/settings.cpp @@ -52,7 +52,13 @@ Settings::Settings() posix = false; // This assumes the code you are checking is for the same architecture this is compiled on. +#if defined(_WIN32) + platform(Win32); +#elif defined(_WIN64) + platform(Win64); +#else platform(Host); +#endif } std::string Settings::addEnabled(const std::string &str)