diff options
author | cdgill <cdgill@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-09-01 17:57:41 +0000 |
---|---|---|
committer | cdgill <cdgill@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-09-01 17:57:41 +0000 |
commit | 52d506a41bb7645c30ab37b3d77da33e186fa584 (patch) | |
tree | b16229cb09483756ed9c560111b40ebceaa7fa69 /ace/Local_Tokens.cpp | |
parent | 078a293b513620b912af488def022fe20c790f24 (diff) | |
download | ATCD-52d506a41bb7645c30ab37b3d77da33e186fa584.tar.gz |
pSOS Diab and Trimedia compiler port checkin
Diffstat (limited to 'ace/Local_Tokens.cpp')
-rw-r--r-- | ace/Local_Tokens.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ace/Local_Tokens.cpp b/ace/Local_Tokens.cpp index 85d1d7fcaa6..a6e359ef34b 100644 --- a/ace/Local_Tokens.cpp +++ b/ace/Local_Tokens.cpp @@ -167,9 +167,15 @@ ACE_TSS_TPQ_Entry::dump (void) const { ACE_TRACE ("ACE_TSS_TPQ_Entry::dump"); ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this)); +#if defined (ACE_HAS_BROKEN_CONDITIONAL_STRING_CASTS) + ACE_DEBUG ((LM_DEBUG, (char *) "ACE_TSS_TPQ_Entry::dump:\n", + (char *) " client_id_ = %s\n", + (char *) client_id_ == 0 ? (char *) "0" : (char *) client_id_)); +#else /* ! defined (ACE_HAS_BROKEN_CONDITIONAL_STRING_CASTS) */ ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("ACE_TSS_TPQ_Entry::dump:\n") ASYS_TEXT (" client_id_ = %s\n"), client_id_ == 0 ? ASYS_TEXT ("0") : client_id_)); +#endif /* ! defined (ACE_HAS_BROKEN_CONDITIONAL_STRING_CASTS) */ ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("base:\n"))); ACE_TPQ_ENTRY::dump (); ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP)); @@ -1412,9 +1418,15 @@ ACE_Token_Name::dump (void) const { ACE_TRACE ("ACE_Token_Name::dump"); ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this)); +#if defined (ACE_HAS_BROKEN_CONDITIONAL_STRING_CASTS) + ACE_DEBUG ((LM_DEBUG, (char *) "ACE_Token_Name::dump:\n", + (char *) " token_name_ = %s\n", + (char *) token_name_ == 0 ? (char *) "no name" : (char *) token_name_)); +#else /* ! defined (ACE_HAS_BROKEN_CONDITIONAL_STRING_CASTS) */ ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("ACE_Token_Name::dump:\n") ASYS_TEXT (" token_name_ = %s\n"), token_name_ == 0 ? ASYS_TEXT ("no name") : token_name_)); +#endif /* ! defined (ACE_HAS_BROKEN_CONDITIONAL_STRING_CASTS) */ ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP)); } |