summaryrefslogtreecommitdiff
path: root/ACE/examples/OS
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2009-04-21 06:02:48 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2009-04-21 06:02:48 +0000
commit7811c073421938073bfa7c7a5489701cb5810b5b (patch)
tree01ce73adacfc61d723dbc1c33f15c8cd99f450ac /ACE/examples/OS
parent114972168924d05dfc0595074648146c84959bcf (diff)
downloadATCD-7811c073421938073bfa7c7a5489701cb5810b5b.tar.gz
Tue Apr 21 07:02:06 UTC 2009 Johnny Willemsen <jwillemsen@remedy.nl>
* examples/OS/Process/imore.cpp: * tests/Recursive_Mutex_Test.cpp: Fixed cegcc warning
Diffstat (limited to 'ACE/examples/OS')
-rw-r--r--ACE/examples/OS/Process/imore.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/ACE/examples/OS/Process/imore.cpp b/ACE/examples/OS/Process/imore.cpp
index e6c672d949f..a22ceb2e9f3 100644
--- a/ACE/examples/OS/Process/imore.cpp
+++ b/ACE/examples/OS/Process/imore.cpp
@@ -94,6 +94,7 @@ parse_args (int argc, ACE_TCHAR **argv)
return 0;
}
+#if !defined (ACE_WIN32)
static int
setup_named_pipes (ACE_Process_Options &opt)
{
@@ -142,7 +143,9 @@ setup_named_pipes (ACE_Process_Options &opt)
wfifo.close ();
return 0;
}
+#endif
+#if !defined (ACE_WIN32)
static int
setup_unnamed_pipe (ACE_Process_Options &opt)
{
@@ -169,6 +172,7 @@ setup_unnamed_pipe (ACE_Process_Options &opt)
pipe.close ();
return 0;
}
+#endif
static int
print_file (ACE_HANDLE infd)
@@ -193,7 +197,7 @@ print_file (ACE_HANDLE infd)
}
}
}
-
+
return 0;
}