summaryrefslogtreecommitdiff
path: root/ace/Lib_Find.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Lib_Find.cpp')
-rw-r--r--ace/Lib_Find.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ace/Lib_Find.cpp b/ace/Lib_Find.cpp
index c681f75463a..11aa00b6129 100644
--- a/ace/Lib_Find.cpp
+++ b/ace/Lib_Find.cpp
@@ -378,7 +378,7 @@ ACE_Lib_Find::ldname (const ACE_TCHAR *entry_point)
{
ACE_TRACE ("ACE_Lib_Find::ldname");
-#if defined (__BORLANDC__) || defined(__APPLE__)
+#if defined (__BORLANDC__)
size_t size =
1 // leading '_'
+ ACE_OS::strlen (entry_point)
@@ -393,7 +393,7 @@ ACE_Lib_Find::ldname (const ACE_TCHAR *entry_point)
ACE_OS::strcat (new_name, entry_point);
return new_name;
-#else /* __BORLANDC__ || __APPLE__ */
+#else /* __BORLANDC__ */
size_t size =
ACE_OS::strlen (entry_point)
+ 1;
@@ -406,7 +406,7 @@ ACE_Lib_Find::ldname (const ACE_TCHAR *entry_point)
ACE_OS::strcpy (new_name, entry_point);
return new_name;
-#endif /* __BORLANDC__ || __APPLE__ */
+#endif /* __BORLANDC__ */
}
int