aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2013-08-05 01:05:59 -0700
committerGavin Andresen <gavinandresen@gmail.com>2013-08-05 01:05:59 -0700
commite622f3f195f417f3098b9717003f875954495f3c (patch)
tree066936cd3ddd490f3118970ccedc2a08dbcd1ee4 /src/util.h
parenta4ae02969e6c8fd6f17ac5f2f495149476463344 (diff)
parenta034c7ebb6995c342fea289d04a6198d793eab08 (diff)
Merge pull request #2855 from Diapolo/guard_CreatePidFile
exclude CreatePidFile() function on WIN32 as it is unused
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 9ca73f3311..9aea564406 100644
--- a/src/util.h
+++ b/src/util.h
@@ -207,7 +207,9 @@ boost::filesystem::path GetDefaultDataDir();
const boost::filesystem::path &GetDataDir(bool fNetSpecific = true);
boost::filesystem::path GetConfigFile();
boost::filesystem::path GetPidFile();
+#ifndef WIN32
void CreatePidFile(const boost::filesystem::path &path, pid_t pid);
+#endif
void ReadConfigFile(std::map<std::string, std::string>& mapSettingsRet, std::map<std::string, std::vector<std::string> >& mapMultiSettingsRet);
#ifdef WIN32
boost::filesystem::path GetSpecialFolderPath(int nFolder, bool fCreate = true);