Reverting this change, Linux does not define _getpid.

This commit is contained in:
lotodore
2011-04-10 10:17:30 +00:00
parent 8bac902580
commit 8ad31f240a
+1 -1
View File
@@ -149,7 +149,7 @@ main(int argc, char *argv[])
{
ofstream pidStream(pidFile.c_str(), ios_base::out | ios_base::trunc);
if (!pidStream.fail())
pidStream << _getpid();
pidStream << getpid();
else
LOG_ERROR("Could not create process id file \"" << pidFile << "\"!");
}