diff options
| author | Chun Kuan Lee <[email protected]> | 2018-07-25 17:33:22 +0800 |
|---|---|---|
| committer | Chun Kuan Lee <[email protected]> | 2018-08-28 00:55:13 +0800 |
| commit | 1661a472b8245eb4588fedbf19c9ed07a41e7602 (patch) | |
| tree | 6a9c19af730f79a66e4ba3524dbec5514353cb48 /src/init.cpp | |
| parent | Merge #14023: Remove accounts rpcs (diff) | |
| download | discoin-1661a472b8245eb4588fedbf19c9ed07a41e7602.tar.xz discoin-1661a472b8245eb4588fedbf19c9ed07a41e7602.zip | |
add unicode compatible file_lock for Windows
boost::interprocess::file_lock cannot open the files that contain characters which cannot be parsed by the user's code page on Windows.
This commit add a new class to handle those specific file for Windows.
Diffstat (limited to 'src/init.cpp')
| -rw-r--r-- | src/init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp index 2131a6adc..bd330459f 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -51,13 +51,13 @@ #ifndef WIN32 #include <signal.h> +#include <sys/stat.h> #endif #include <boost/algorithm/string/classification.hpp> #include <boost/algorithm/string/replace.hpp> #include <boost/algorithm/string/split.hpp> #include <boost/bind.hpp> -#include <boost/interprocess/sync/file_lock.hpp> #include <boost/thread.hpp> #include <openssl/crypto.h> |