summaryrefslogtreecommitdiff
path: root/examples/Shared_Malloc/Options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Shared_Malloc/Options.cpp')
-rw-r--r--examples/Shared_Malloc/Options.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/Shared_Malloc/Options.cpp b/examples/Shared_Malloc/Options.cpp
index 3338c55a810..5b898cb2b83 100644
--- a/examples/Shared_Malloc/Options.cpp
+++ b/examples/Shared_Malloc/Options.cpp
@@ -179,7 +179,9 @@ Options::parse_args (int argc, char *argv[])
this->spawn_count_ = ACE_OS::atoi (get_opt.opt_arg ());
break;
case 'T':
+#if defined (ACE_HAS_TRACE)
ACE_Trace::start_tracing ();
+#endif /* ACE_HAS_TRACE */
break;
default:
this->print_usage_and_die ();