From: abd Date: Mon, 21 Apr 2008 11:23:40 +0000 (+0000) Subject: Windows version debug X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6f0e56637d20f01f0473f8fe99e6ad78d9f43d99;p=modules%2Fkernel.git Windows version debug --- diff --git a/src/DSC/DSC_Basic/ConnectionManager_i.cxx b/src/DSC/DSC_Basic/ConnectionManager_i.cxx index 2f7f089c9..a2cf257eb 100644 --- a/src/DSC/DSC_Basic/ConnectionManager_i.cxx +++ b/src/DSC/DSC_Basic/ConnectionManager_i.cxx @@ -126,5 +126,10 @@ ConnectionManager_i::ShutdownWithExit() CORBA::Long ConnectionManager_i::getPID() { - return (CORBA::Long)getpid(); + return +#ifndef WIN32 + (CORBA::Long)getpid(); +#else + (CORBA::Long)GetCurrentProcessId(); +#endif }