mirror of https://github.com/AxioDL/metaforce.git
CoInitializeEx usage tweak
This commit is contained in:
parent
db092f39cd
commit
7335a528f0
|
@ -85,14 +85,14 @@ static void AthenaExc(athena::error::Level level, const char* file,
|
|||
va_end(ap);
|
||||
}
|
||||
|
||||
#if HECL_UCS2
|
||||
#if _WIN32
|
||||
int wmain(int argc, const wchar_t** argv)
|
||||
#else
|
||||
int main(int argc, const char** argv)
|
||||
#endif
|
||||
{
|
||||
#if _WIN32
|
||||
CoInitializeEx(nullptr, COINIT_MULTITHREADED);
|
||||
CoInitializeEx(nullptr, COINIT_MULTITHREADED | COINIT_DISABLE_OLE1DDE);
|
||||
#else
|
||||
std::setlocale(LC_ALL, "en-US.UTF-8");
|
||||
#endif
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 9724488da31f78b03b79d35957094bd766778d20
|
||||
Subproject commit 4f7845f4ce17042b69b3c25e7b9f4e70b8716f5b
|
Loading…
Reference in New Issue