summaryrefslogtreecommitdiff
path: root/ace/Log_Msg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Log_Msg.cpp')
-rw-r--r--ace/Log_Msg.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/ace/Log_Msg.cpp b/ace/Log_Msg.cpp
index 8c5e79cb0c5..20666bd82c5 100644
--- a/ace/Log_Msg.cpp
+++ b/ace/Log_Msg.cpp
@@ -601,7 +601,9 @@ ACE_Log_Msg::log (const ASYS_TCHAR *format_str,
ACE_TRACE ("ACE_Log_Msg::log");
// External decls.
- extern int sys_nerr;
+#if ! (defined(__BORLANDC__) && __BORLANDC__ >= 0x0530)
+ extern int sys_nerr;
+#endif /* ! (defined(__BORLANDC__) && __BORLANDC__ >= 0x0530) */
typedef void (*PTF)(...);
// Only print the message if <priority_mask_> hasn't been reset to