aboutsummaryrefslogtreecommitdiff
path: root/db.cpp
diff options
context:
space:
mode:
authorSatoshi Nakamoto <satoshin@gmx.com>2010-07-26 17:44:51 +0000
committerGavin Andresen <gavinandresen@gmail.com>2010-07-26 17:44:51 +0000
commitb6dc3b517b74ef2baa0e707f837a65b4ff5a6f2e (patch)
tree757fa9f209b9cb6a42c6b6e6df9e58cad074cd03 /db.cpp
parentf0c11b1917009f1648eb42f1d17f35196fb7c539 (diff)
bitcoind now compiles without wxWidgets or wxBase
Diffstat (limited to 'db.cpp')
-rw-r--r--db.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/db.cpp b/db.cpp
index 238f5b7f3c..fa4ae9026f 100644
--- a/db.cpp
+++ b/db.cpp
@@ -60,7 +60,7 @@ CDB::CDB(const char* pszFile, const char* pszMode) : pdb(NULL)
return;
string strDataDir = GetDataDir();
string strLogDir = strDataDir + "/database";
- _mkdir(strLogDir.c_str());
+ filesystem::create_directory(strLogDir.c_str());
string strErrorFile = strDataDir + "/db.log";
printf("dbenv.open strLogDir=%s strErrorFile=%s\n", strLogDir.c_str(), strErrorFile.c_str());