diff options
Diffstat (limited to 'ace/Log_Msg.cpp')
-rw-r--r-- | ace/Log_Msg.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ace/Log_Msg.cpp b/ace/Log_Msg.cpp index 1cfef7837c6..19439f937ce 100644 --- a/ace/Log_Msg.cpp +++ b/ace/Log_Msg.cpp @@ -26,6 +26,7 @@ #include "ace/Log_Msg_IPC.h" #include "ace/Log_Msg_NT_Event_Log.h" #include "ace/Log_Msg_UNIX_Syslog.h" +#include "ace/Log_Record.h" ACE_RCSID(ace, Log_Msg, "$Id$") @@ -364,6 +365,14 @@ ACE_Log_Msg::instance (void) #endif /* ! ACE_MT_SAFE */ } +// Not inlined to help prevent having to include OS.h just to +// get ACE_DEBUG, et al, macros. +int +ACE_Log_Msg::last_error_adapter (void) +{ + return ACE_OS::last_error (); +} + // Sets the flag in the default priority mask used to initialize // ACE_Log_Msg instances, as well as the current per-thread instance. |