diff options
author | Steve Huston <shuston@riverace.com> | 1999-01-20 23:35:19 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 1999-01-20 23:35:19 +0000 |
commit | e3fb15904f2be9087f60697e3c352416b7dccb1a (patch) | |
tree | 2bb344313a50fc1178a9da745201249a307f634f /ace/Log_Msg.h | |
parent | a168673a04a74c47dca5ff09def0fbb127cd8ec1 (diff) | |
download | ATCD-e3fb15904f2be9087f60697e3c352416b7dccb1a.tar.gz |
Added "do {} while (0)" as defs for ACE_HEX_DUMP, ACE_ERROR, ACE_DEBUG
when ACE_NLOGGING is defined. Having null defs caused MSVC 6 some problems.
Diffstat (limited to 'ace/Log_Msg.h')
-rw-r--r-- | ace/Log_Msg.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ace/Log_Msg.h b/ace/Log_Msg.h index b055891c43c..e1ab3591a22 100644 --- a/ace/Log_Msg.h +++ b/ace/Log_Msg.h @@ -36,12 +36,12 @@ #endif /* ACE_NDEBUG */ #if defined (ACE_NLOGGING) -#define ACE_HEX_DUMP(X) +#define ACE_HEX_DUMP(X) do {} while (0) #define ACE_RETURN(Y) do { return (Y); } while (0) #define ACE_ERROR_RETURN(X, Y) return (Y) #define ACE_ERROR_BREAK(X) { break; } -#define ACE_ERROR(X) -#define ACE_DEBUG(X) +#define ACE_ERROR(X) do {} while (0) +#define ACE_DEBUG(X) do {} while (0) #define ACE_ERROR_INIT(VALUE, FLAGS) #else #define ACE_HEX_DUMP(X) \ |