set windows platform type to type executable was compiled on

This commit is contained in:
Robert Reif 2011-09-18 13:19:00 -04:00
parent be660003ec
commit 2fe182b833
1 changed files with 6 additions and 0 deletions

View File

@ -52,7 +52,13 @@ Settings::Settings()
posix = false; posix = false;
// This assumes the code you are checking is for the same architecture this is compiled on. // 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); platform(Host);
#endif
} }
std::string Settings::addEnabled(const std::string &str) std::string Settings::addEnabled(const std::string &str)