From ed12f1dd6d40be5dcbd61140d63eec435f88e096 Mon Sep 17 00:00:00 2001 From: Gilles Depeyrot Date: Sat, 13 Oct 2001 18:54:28 +0000 Subject: [PATCH] strcasecmp is in the system libraries under Mac OS X git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/utilscmn.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/utilscmn.cpp b/src/common/utilscmn.cpp index a294d53d5d..1867cc1d44 100644 --- a/src/common/utilscmn.cpp +++ b/src/common/utilscmn.cpp @@ -105,7 +105,7 @@ // string functions // ---------------------------------------------------------------------------- -#ifdef __WXMAC__ +#if defined(__WXMAC__) && !defined(__DARWIN) int strcasecmp(const char *str_1, const char *str_2) { register char c1, c2; @@ -134,7 +134,7 @@ int strncasecmp(const char *str_1, const char *str_2, size_t maxchar) return 0 ; } -#endif // wxMAC +#endif // __WXMAC__ && !__DARWIN__ #if defined( __VMS__ ) && ( __VMS_VER < 70000000 ) // we have no strI functions under VMS, therefore I have implemented