summaryrefslogtreecommitdiff
path: root/ACE/examples/APG/Logging/Trace.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/examples/APG/Logging/Trace.h')
-rw-r--r--ACE/examples/APG/Logging/Trace.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ACE/examples/APG/Logging/Trace.h b/ACE/examples/APG/Logging/Trace.h
index 9c71bad13e3..782a610558e 100644
--- a/ACE/examples/APG/Logging/Trace.h
+++ b/ACE/examples/APG/Logging/Trace.h
@@ -77,6 +77,10 @@ private:
// Listing 2 code/ch03
#define TRACE_PREFIX ACE_TEXT ("TRACE ")
+#if defined (TRACE)
+#undef TRACE
+#endif /* TRACE */
+
#if (ACE_NTRACE == 1)
# define TRACE(X)
# define TRACE_RETURN(V) return V;