aboutsummaryrefslogtreecommitdiff
path: root/src/util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp2
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)