From 8ad31f240a7a0053ed8cad83e8dab98288690634 Mon Sep 17 00:00:00 2001 From: lotodore Date: Sun, 10 Apr 2011 10:17:30 +0000 Subject: [PATCH] Reverting this change, Linux does not define _getpid. --- src/pokerth_server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pokerth_server.cpp b/src/pokerth_server.cpp index e7c52432..25cc6422 100644 --- a/src/pokerth_server.cpp +++ b/src/pokerth_server.cpp @@ -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 << "\"!"); }