From 6f0e56637d20f01f0473f8fe99e6ad78d9f43d99 Mon Sep 17 00:00:00 2001 From: abd Date: Mon, 21 Apr 2008 11:23:40 +0000 Subject: [PATCH] Windows version debug --- src/DSC/DSC_Basic/ConnectionManager_i.cxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 } -- 2.39.2