summaryrefslogtreecommitdiff
path: root/examples/APG/Processes
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2004-11-18 15:35:50 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2004-11-18 15:35:50 +0000
commitd2e76b3bb3f55e48fa05e1f790e8b33123c6e103 (patch)
tree4fc2d70973b56f373401216e64bc6662abb9a0cc /examples/APG/Processes
parent51b2ebde4cae26e20d36e702ca7f522e038471dd (diff)
downloadATCD-d2e76b3bb3f55e48fa05e1f790e8b33123c6e103.tar.gz
ChangeLogTag: Thu Nov 18 09:35:01 2004 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'examples/APG/Processes')
-rw-r--r--examples/APG/Processes/Spawn.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/APG/Processes/Spawn.cpp b/examples/APG/Processes/Spawn.cpp
index d3395748eba..3e6380db914 100644
--- a/examples/APG/Processes/Spawn.cpp
+++ b/examples/APG/Processes/Spawn.cpp
@@ -105,7 +105,7 @@ private:
}
// Listing 2
-#if !defined (ACE_WIN32)
+#if !defined (ACE_WIN32) && !defined (ACE_LACKS_PWD_FUNCTIONS)
// Listing 10 code/ch10
int setUserID (ACE_Process_Options &options)
{
@@ -159,7 +159,7 @@ public:
void showWho (void)
{
ACE_TRACE ("Slave::showWho");
-#if !defined (ACE_WIN32)
+#if !defined (ACE_WIN32) && !defined (ACE_LACKS_PWD_FUNCTIONS)
passwd *pw = ::getpwuid (::geteuid ());
ACE_DEBUG ((LM_INFO,
ACE_TEXT ("(%P) Running this process as:%s\n"),