From 2ef630d2243b88a6023af8898891c46d2896fcf9 Mon Sep 17 00:00:00 2001 From: fsb4000 Date: Mon, 2 Mar 2015 19:35:08 +0600 Subject: [PATCH] =?utf8?q?=D0=B2=D0=BE=D0=B7=D0=B2=D1=80=D0=B0=D1=89=D0=B5=D0=BD=D0=B8=D0=B5=20=D1=81=D0=BE=D0=B2=D0=BC=D0=B5=D1=81=D1=82=D0=B8=D0=BC=D0=BE=D1=81=D1=82=D0=B8=20=D1=81=D0=BE=20=D1=81=D1=82=D0=B0=D1=80=D1=8B=D0=BC=20boost?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/util.cpp | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/util.cpp b/src/util.cpp index f69c600..481da94 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -1157,7 +1157,11 @@ void createConf() srand(time(NULL)); ofstream pConf; +#if BOOST_FILESYSTEM_VERSION >= 3 pConf.open(GetConfigFile().generic_string().c_str()); +#else + pConf.open(GetConfigFile().string().c_str()); +#endif pConf << "rpcuser=user\nrpcpassword=" + randomStrGen(15) + "\nrpcport=8344" -- 1.7.1