aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorPhilip Kaufmann <[email protected]>2013-07-24 09:30:09 +0200
committerPhilip Kaufmann <[email protected]>2013-07-24 09:30:09 +0200
commita034c7ebb6995c342fea289d04a6198d793eab08 (patch)
tree9d40fa6ba2aa202d64f68e0f9397b75b3269841b /src/util.h
parentMerge pull request #2795 from fanquake/log_aborted_rebuilds (diff)
downloaddiscoin-a034c7ebb6995c342fea289d04a6198d793eab08.tar.xz
discoin-a034c7ebb6995c342fea289d04a6198d793eab08.zip
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 bee2749c1..1bdc67a1a 100644
--- a/src/util.h
+++ b/src/util.h
@@ -208,7 +208,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);