From 2fe182b8332c9dd78138549f7a28260f45bc3dd2 Mon Sep 17 00:00:00 2001 From: Robert Reif Date: Sun, 18 Sep 2011 13:19:00 -0400 Subject: [PATCH] set windows platform type to type executable was compiled on --- lib/settings.cpp | 6 ++++++ 1 file changed, 6 insertions(+) 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)