summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/tao_idl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/tao_idl.cpp')
-rw-r--r--TAO/TAO_IDL/tao_idl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/TAO_IDL/tao_idl.cpp b/TAO/TAO_IDL/tao_idl.cpp
index 3789c57ccd4..efe43996be6 100644
--- a/TAO/TAO_IDL/tao_idl.cpp
+++ b/TAO/TAO_IDL/tao_idl.cpp
@@ -139,7 +139,7 @@ DRV_fork (void)
ACE_OS::exit (0);
}
- if (child_pid == -1)
+ if (child_pid == ACE_INVALID_PID)
{
ACE_ERROR ((LM_ERROR,
ACE_TEXT ("IDL: spawn failed\n")));