CoInitializeEx usage tweak

This commit is contained in:
Jack Andersen 2016-06-17 10:44:49 -10:00
parent db092f39cd
commit 7335a528f0
2 changed files with 3 additions and 3 deletions

View File

@ -85,14 +85,14 @@ static void AthenaExc(athena::error::Level level, const char* file,
va_end(ap); va_end(ap);
} }
#if HECL_UCS2 #if _WIN32
int wmain(int argc, const wchar_t** argv) int wmain(int argc, const wchar_t** argv)
#else #else
int main(int argc, const char** argv) int main(int argc, const char** argv)
#endif #endif
{ {
#if _WIN32 #if _WIN32
CoInitializeEx(nullptr, COINIT_MULTITHREADED); CoInitializeEx(nullptr, COINIT_MULTITHREADED | COINIT_DISABLE_OLE1DDE);
#else #else
std::setlocale(LC_ALL, "en-US.UTF-8"); std::setlocale(LC_ALL, "en-US.UTF-8");
#endif #endif

2
hecl/extern/boo vendored

@ -1 +1 @@
Subproject commit 9724488da31f78b03b79d35957094bd766778d20 Subproject commit 4f7845f4ce17042b69b3c25e7b9f4e70b8716f5b