summaryrefslogtreecommitdiff
path: root/ace/Log_Msg.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-04-08 08:24:26 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-04-08 08:24:26 +0000
commitd5509b9c8dcecba99cc79aa35e3cae06f3ab65df (patch)
treeb783e58f10db470c6304238443394d56934dd1e2 /ace/Log_Msg.cpp
parentb1fd6f01f1e2a58d240187b14629faeda53381fc (diff)
downloadATCD-d5509b9c8dcecba99cc79aa35e3cae06f3ab65df.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Log_Msg.cpp')
-rw-r--r--ace/Log_Msg.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/Log_Msg.cpp b/ace/Log_Msg.cpp
index 4201442c8ea..d83cda21e06 100644
--- a/ace/Log_Msg.cpp
+++ b/ace/Log_Msg.cpp
@@ -45,10 +45,10 @@ static ACE_FIFO_Send_Msg message_queue_;
ACE_ALLOC_HOOK_DEFINE(ACE_Log_Msg)
-#if !defined(VXWORKS)
+#if !defined (VXWORKS) && defined (ACE_MT_SAFE)
static int key_created_ = 0;
static ACE_thread_key_t key_;
-#endif /* VXWORKS */
+#endif /* !VXWORKS && ACE_MT_SAFE */
// This is only needed here because we can't afford to call
// ACE_LOG_MSG->instance() from within ACE_Log_Msg::instance() or else