don't imbue boost::filesystem::path with locale "C" on windows
fixes https://github.com/bitcoin/bitcoin/issues/6078
This commit is contained in:
parent
b46e7c24e5
commit
b3ffcdf916
1 changed files with 2 additions and 0 deletions
|
@ -738,7 +738,9 @@ void SetupEnvironment()
|
||||||
#endif
|
#endif
|
||||||
// The path locale is lazy initialized and to avoid deinitialization errors
|
// The path locale is lazy initialized and to avoid deinitialization errors
|
||||||
// in multithreading environments, it is set explicitly by the main thread.
|
// in multithreading environments, it is set explicitly by the main thread.
|
||||||
|
#if !defined(WIN32)
|
||||||
boost::filesystem::path::imbue(loc);
|
boost::filesystem::path::imbue(loc);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetThreadPriority(int nPriority)
|
void SetThreadPriority(int nPriority)
|
||||||
|
|
Loading…
Reference in a new issue