summaryrefslogtreecommitdiff
path: root/ace/OS_String.inl
diff options
context:
space:
mode:
authorbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-05-27 03:13:06 +0000
committerbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-05-27 03:13:06 +0000
commit871a5f2849ba1e5e44881eae2252d15c518c0b66 (patch)
treefc82d0e5c2a14729cc64f8de88f49176a98a59df /ace/OS_String.inl
parentdefb6db0289d8ca4781af3f69d403ad7914ae771 (diff)
downloadATCD-871a5f2849ba1e5e44881eae2252d15c518c0b66.tar.gz
ChangeLogTag:Fri May 26 20:00:22 2000 Darrell Brunsch <brunsch@uci.edu>
Diffstat (limited to 'ace/OS_String.inl')
-rw-r--r--ace/OS_String.inl8
1 files changed, 6 insertions, 2 deletions
diff --git a/ace/OS_String.inl b/ace/OS_String.inl
index a15ed8a91f0..f6c5a8076b9 100644
--- a/ace/OS_String.inl
+++ b/ace/OS_String.inl
@@ -423,7 +423,9 @@ ACE_OS_String::strcasecmp (const char *s, const char *t)
# else
return ::strcasecmp (s, t);
# endif /* ACE_LACKS_STRCASECMP */
-#else /* ACE_WIN32 */
+#elif defined(__BORLANDC__)
+ return ::stricmp (s, t);
+#else /* !ACE_WIN32 && !__BORLANDC__ */
return ::_stricmp (s, t);
#endif /* ACE_WIN32 */
}
@@ -496,7 +498,9 @@ ACE_OS_String::strncasecmp (const char *s, const char *t, size_t len)
# else
return ::strncasecmp (s, t, len);
# endif /* ACE_LACKS_STRCASECMP */
-#else /* ACE_WIN32 */
+#elif defined(__BORLANDC__)
+ return ::strnicmp (s, t, len);
+#else /* !ACE_WIN32 && !__BORLANDC__ */
return ::_strnicmp (s, t, len);
#endif /* ACE_WIN32 */
}