summaryrefslogtreecommitdiff
path: root/ace/Log_Record.cpp
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-22 15:27:41 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-22 15:27:41 +0000
commit79da0015ca78c48a66aa49045e535dec273c24da (patch)
tree27bd62a3c5f1774338e69b389a710d550345abb1 /ace/Log_Record.cpp
parentb16df8d98e3fa28aa0ea9396405ab113ae749759 (diff)
downloadATCD-79da0015ca78c48a66aa49045e535dec273c24da.tar.gz
ChangeLogTag: Thu Jul 22 10:25:31 1999 David L. Levine <levine@cs.wustl.edu>
Diffstat (limited to 'ace/Log_Record.cpp')
-rw-r--r--ace/Log_Record.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/ace/Log_Record.cpp b/ace/Log_Record.cpp
index ff577e89600..94eeb04f96b 100644
--- a/ace/Log_Record.cpp
+++ b/ace/Log_Record.cpp
@@ -1,12 +1,13 @@
-// Log_Record.cpp
// $Id$
#define ACE_BUILD_DLL
#include "ace/Log_Record.h"
-#include "ace/streams.h"
+#if !defined (ACE_LACKS_IOSTREAM_TOTALLY)
+# include "ace/streams.h"
+#endif /* ! ACE_LACKS_IOSTREAM_TOTALLY */
#if defined (ACE_LACKS_INLINE_FUNCTIONS)
-#include "ace/Log_Record.i"
+# include "ace/Log_Record.i"
#endif
ACE_RCSID(ace, Log_Record, "$Id$")
@@ -153,11 +154,11 @@ ACE_Log_Record::format_msg (const ASYS_TCHAR *host_name,
{
# if defined (ACE_HAS_BROKEN_CONDITIONAL_STRING_CASTS)
const ASYS_TCHAR *lhost_name = (const ASYS_TCHAR *) ((host_name == 0)
- ? ((char *) ASYS_TEXT ("<local_host>"))
+ ? ((char *) ASYS_TEXT ("<local_host>"))
: ((char *) host_name));
# else /* ! defined (ACE_HAS_BROKEN_CONDITIONAL_STRING_CASTS) */
const ASYS_TCHAR *lhost_name = ((host_name == 0)
- ? ASYS_TEXT ("<local_host>")
+ ? ASYS_TEXT ("<local_host>")
: host_name);
# endif /* ! defined (ACE_HAS_BROKEN_CONDITIONAL_STRING_CASTS) */
ACE_OS::sprintf (verbose_msg,
@@ -238,7 +239,7 @@ ACE_Log_Record::print (const ASYS_TCHAR *host_name,
return result;
}
-#if ! defined (ACE_LACKS_IOSTREAM_TOTALLY)
+#if !defined (ACE_LACKS_IOSTREAM_TOTALLY)
int
ACE_Log_Record::print (const ASYS_TCHAR *host_name,