summaryrefslogtreecommitdiff
path: root/examples/APG/Logging/Callback-3.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/APG/Logging/Callback-3.h')
-rw-r--r--examples/APG/Logging/Callback-3.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/examples/APG/Logging/Callback-3.h b/examples/APG/Logging/Callback-3.h
index 22824fad382..da852cb847c 100644
--- a/examples/APG/Logging/Callback-3.h
+++ b/examples/APG/Logging/Callback-3.h
@@ -1,8 +1,5 @@
// $Id$
-#ifndef APG_CALLBACK3_H
-#define APG_CALLBACK3_H
-
#include "ace/streams.h"
#include "ace/Log_Msg.h"
#include "ace/Log_Msg_Callback.h"
@@ -42,13 +39,8 @@ public:
{
if (!this->logger_)
{
-# if defined (ACE_LACKS_IOSTREAM_TOTALLY)
- log_record.print
- (ACE_TEXT (""), ACE_Log_Msg::VERBOSE, stderr);
-# else
log_record.print
(ACE_TEXT (""), ACE_Log_Msg::VERBOSE, cerr);
-# endif /* ACE_LACKS_IOSTREAM_TOTALLY */
return;
}
@@ -65,5 +57,3 @@ public:
private:
ACE_SOCK_Stream *logger_;
};
-
-#endif /* APG_CALLBACK3_H */