summaryrefslogtreecommitdiff
path: root/ACE/ace/Semaphore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Semaphore.cpp')
-rw-r--r--ACE/ace/Semaphore.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ACE/ace/Semaphore.cpp b/ACE/ace/Semaphore.cpp
index 06de81756ed..104d2e517f0 100644
--- a/ACE/ace/Semaphore.cpp
+++ b/ACE/ace/Semaphore.cpp
@@ -20,11 +20,13 @@ ACE_ALLOC_HOOK_DEFINE(ACE_Semaphore)
void
ACE_Semaphore::dump (void) const
{
+#if defined (ACE_HAS_DUMP)
// ACE_TRACE ("ACE_Semaphore::dump");
ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("\n")));
ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
+#endif /* ACE_HAS_DUMP */
}
ACE_Semaphore::ACE_Semaphore (unsigned int count,