summaryrefslogtreecommitdiff
path: root/ACE/examples/OS/Process/imore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/examples/OS/Process/imore.cpp')
-rw-r--r--ACE/examples/OS/Process/imore.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/ACE/examples/OS/Process/imore.cpp b/ACE/examples/OS/Process/imore.cpp
index e6c672d949f..04b6cbfb392 100644
--- a/ACE/examples/OS/Process/imore.cpp
+++ b/ACE/examples/OS/Process/imore.cpp
@@ -38,8 +38,6 @@ ACE_RCSID(Process, imore, "$Id$")
#if defined (ACE_WIN32)
static const ACE_TCHAR *executable = ACE_TEXT("MORE.COM");
-static const ACE_TCHAR *rendezvous_dir = ACE_TEXT("c:/temp");
-static const ACE_TCHAR *rendezvous_pfx = ACE_TEXT("imore");
#else
static const char * executable = "more"; // I like less better.
static const ACE_TCHAR *rendezvous_dir = ACE_TEXT("/tmp");
@@ -94,6 +92,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 +141,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,7 +170,9 @@ setup_unnamed_pipe (ACE_Process_Options &opt)
pipe.close ();
return 0;
}
+#endif
+#if !defined (ACE_WIN32)
static int
print_file (ACE_HANDLE infd)
{
@@ -193,9 +196,10 @@ print_file (ACE_HANDLE infd)
}
}
}
-
+
return 0;
}
+#endif
int
ACE_TMAIN (int argc, ACE_TCHAR *argv[])