From: fsb4000 Date: Mon, 2 Mar 2015 13:35:08 +0000 (+0600) Subject: возвращение совместимости со старым boost X-Git-Tag: nvc-v0.5.3~74^2 X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=commitdiff_plain;h=2ef630d2243b88a6023af8898891c46d2896fcf9 возвращение совместимости со старым boost --- 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"