]> git.saurik.com Git - wxWidgets.git/commitdiff
strcasecmp is in the system libraries under Mac OS X
authorGilles Depeyrot <gilles_depeyrot@mac.com>
Sat, 13 Oct 2001 18:54:28 +0000 (18:54 +0000)
committerGilles Depeyrot <gilles_depeyrot@mac.com>
Sat, 13 Oct 2001 18:54:28 +0000 (18:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/utilscmn.cpp

index a294d53d5d93220762cfef3c11b234876d671fc3..1867cc1d445b2f9cecb9d63070dd89ad578e6934 100644 (file)
 // 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