diff options
author | Jonas Schnelli <jonas.schnelli@include7.ch> | 2015-05-01 13:32:25 +0200 |
---|---|---|
committer | Jonas Schnelli <jonas.schnelli@include7.ch> | 2015-05-01 13:32:25 +0200 |
commit | b3ffcdf91608d4435acfb9b0a6266a4073ffaf7f (patch) | |
tree | 9318326d67a25ca35b8e069d219a2896b20ae04c /src | |
parent | b46e7c24e58efd06f60ae0f9ab85a53283e23059 (diff) |
don't imbue boost::filesystem::path with locale "C" on windows
fixes https://github.com/bitcoin/bitcoin/issues/6078
Diffstat (limited to 'src')
-rw-r--r-- | src/util.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util.cpp b/src/util.cpp index c9e8242d47..37fd326f27 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -738,7 +738,9 @@ void SetupEnvironment() #endif // The path locale is lazy initialized and to avoid deinitialization errors // in multithreading environments, it is set explicitly by the main thread. +#if !defined(WIN32) boost::filesystem::path::imbue(loc); +#endif } void SetThreadPriority(int nPriority) |