summaryrefslogtreecommitdiff
path: root/ace/OS.i
diff options
context:
space:
mode:
Diffstat (limited to 'ace/OS.i')
-rw-r--r--ace/OS.i6
1 files changed, 3 insertions, 3 deletions
diff --git a/ace/OS.i b/ace/OS.i
index fb67a29f679..434e98d3d36 100644
--- a/ace/OS.i
+++ b/ace/OS.i
@@ -6174,7 +6174,7 @@ ACE_OS::getpid (void)
{
// ACE_TRACE ("ACE_OS::getpid");
#if defined (ACE_WIN32)
- return ::GetCurrentProcessId();
+ return ::GetCurrentProcessId ();
#elif defined (VXWORKS) || defined (CHORUS)
// getpid() is not supported: just one process anyways
return 0;
@@ -6187,10 +6187,10 @@ ACE_INLINE pid_t
ACE_OS::getpgid (pid_t pid)
{
// ACE_TRACE ("ACE_OS::getpid");
-#if defined (ACE_WIN32) || defined (CHORUS)
+#if defined (ACE_LACKS_GETPGID)
ACE_NOTSUP_RETURN (-1);
#elif defined (VXWORKS)
- // getpid() is not supported: just one process anyways
+ // getpid() is not supported, only one process anyway.
return 0;
#else
ACE_OSCALL_RETURN (::getpgid (pid), pid_t, -1);