diff options
author | dhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-07-30 21:15:59 +0000 |
---|---|---|
committer | dhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-07-30 21:15:59 +0000 |
commit | 0fa2e9f386d24e1b450ce398dc90fd877eaeb87e (patch) | |
tree | 7af903efc2c3753ed75358230c0646988688e34e /examples/ASX | |
parent | c164be8deaa4c46d5dc2cc87ce009392a5708dad (diff) | |
download | ATCD-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.cpp | 2 | ||||
-rw-r--r-- | examples/ASX/UPIPE_Event_Server/Options.cpp | 2 |
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 ())); |