Hopefully fixes build on Windows

This commit is contained in:
Thomas Winget
2015-03-20 16:40:54 -04:00
parent 9dab105e2e
commit 2b0583b2c6
3 changed files with 15 additions and 3 deletions

View File

@@ -326,7 +326,7 @@ std::string get_nix_version_display_string()
std::string config_folder;
#ifdef WIN32
config_folder = get_special_folder_path(CSIDL_APPDATA, true) + "/" + CRYPTONOTE_NAME;
config_folder = get_special_folder_path(CSIDL_COMMON_APPDATA, true) + "\\" + CRYPTONOTE_NAME;
#else
std::string pathRet;
char* pszHome = getenv("HOME");