From 33f8a1928ce9f8cab7387fea432725c9f463d20a Mon Sep 17 00:00:00 2001 From: dhinton Date: Sat, 1 Nov 2003 23:42:24 +0000 Subject: ChangeLogTag:Sat Nov 1 23:45:49 UTC 2003 Don Hinton --- ace/OS_NS_strings.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'ace/OS_NS_strings.h') diff --git a/ace/OS_NS_strings.h b/ace/OS_NS_strings.h index e465ff94f64..c648047e829 100644 --- a/ace/OS_NS_strings.h +++ b/ace/OS_NS_strings.h @@ -26,32 +26,44 @@ # endif /* ACE_LACKS_PRAGMA_ONCE */ #include "ace/os_include/os_strings.h" +#include "ace/ACE_export.h" + +#if defined (ACE_EXPORT_MACRO) +# undef ACE_EXPORT_MACRO +#endif +#define ACE_EXPORT_MACRO ACE_Export class ACE_Time_Value; namespace ACE_OS { /// Compares two strings (case insensitive const char version). + ACE_NAMESPACE_INLINE_FUNCTION int strcasecmp (const char *s, const char *t); #if defined (ACE_HAS_WCHAR) /// Compares two strings (case insensitive const wchar_t version). + ACE_NAMESPACE_INLINE_FUNCTION int strcasecmp (const wchar_t *s, const wchar_t *t); #endif /* ACE_HAS_WCHAR */ /// Compares two arrays (case insensitive const char version). + ACE_NAMESPACE_INLINE_FUNCTION int strncasecmp (const char *s, const char *t, size_t len); #if defined (ACE_HAS_WCHAR) /// Compares two arrays (case insensitive const wchar_t version). + ACE_NAMESPACE_INLINE_FUNCTION int strncasecmp (const wchar_t *s, const wchar_t *t, size_t len); #endif /* ACE_HAS_WCHAR */ #if defined (ACE_LACKS_STRCASECMP) /// Emulated strcasecmp - Performs a case insensitive comparison of strings. + extern ACE_Export int strcasecmp_emulation (const char *s, const char *t); /// Emulated strncasecmp - Performs a case insensitvie comparison of arrays. + extern ACE_Export int strncasecmp_emulation (const char *s, const char *t, size_t len); #endif /* ACE_LACKS_STRCASECMP */ -- cgit v1.2.1