summaryrefslogtreecommitdiff
path: root/examples/ASX
diff options
context:
space:
mode:
authordhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-07-30 21:15:59 +0000
committerdhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-07-30 21:15:59 +0000
commit0fa2e9f386d24e1b450ce398dc90fd877eaeb87e (patch)
tree7af903efc2c3753ed75358230c0646988688e34e /examples/ASX
parentc164be8deaa4c46d5dc2cc87ce009392a5708dad (diff)
downloadATCD-0fa2e9f386d24e1b450ce398dc90fd877eaeb87e.tar.gz
ChangeLogTag:Wed Jul 30 19:21:27 UTC 2003 Don Hinton <dhinton@dresystems.com>
Diffstat (limited to 'examples/ASX')
-rw-r--r--examples/ASX/Event_Server/Event_Server/Options.cpp2
-rw-r--r--examples/ASX/UPIPE_Event_Server/Options.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/examples/ASX/Event_Server/Event_Server/Options.cpp b/examples/ASX/Event_Server/Event_Server/Options.cpp
index b6aab6b1d2c..1bf6f760c47 100644
--- a/examples/ASX/Event_Server/Event_Server/Options.cpp
+++ b/examples/ASX/Event_Server/Event_Server/Options.cpp
@@ -142,10 +142,12 @@ Options::parse_args (int argc, char *argv[])
this->supplier_port (ACE_OS::atoi (get_opt.opt_arg ()));
break;
case 'T':
+#if defined (ACE_HAS_TRACE)
if (ACE_OS::strcasecmp (get_opt.opt_arg (), "ON") == 0)
ACE_Trace::start_tracing ();
else if (ACE_OS::strcasecmp (get_opt.opt_arg (), "OFF") == 0)
ACE_Trace::stop_tracing ();
+#endif /* ACE_HAS_TRACE */
break;
case 't':
this->thr_count (ACE_OS::atoi (get_opt.opt_arg ()));
diff --git a/examples/ASX/UPIPE_Event_Server/Options.cpp b/examples/ASX/UPIPE_Event_Server/Options.cpp
index c39f5eefcde..d5055415ded 100644
--- a/examples/ASX/UPIPE_Event_Server/Options.cpp
+++ b/examples/ASX/UPIPE_Event_Server/Options.cpp
@@ -137,10 +137,12 @@ Options::parse_args (int argc, char *argv[])
this->supplier_port (getopt.opt_arg ());
break;
case 'T':
+#if defined (ACE_HAS_TRACE)
if (ACE_OS::strcasecmp (getopt.opt_arg (), "ON") == 0)
ACE_Trace::start_tracing ();
else if (ACE_OS::strcasecmp (getopt.opt_arg (), "OFF") == 0)
ACE_Trace::stop_tracing ();
+#endif /* ACE_HAS_TRACE */
break;
case 't':
this->thr_count (ACE_OS::atoi (getopt.opt_arg ()));