Those two #ifdefs were wrong on my setup (straightforward RosBE 3.4.2, and also updat...
[reactos.git] / reactos / lib / libwine / string.c
index 04fc54c..09a1de4 100644 (file)
@@ -3,7 +3,11 @@
 #include "wine/port.h"
 
 #ifndef HAVE_STRCASECMP
-# ifndef HAVE__STRICMP
+
+#ifdef strcasecmp
+# undef strcasecmp
+#endif
+
 int strcasecmp( const char *str1, const char *str2 )
 {
     const unsigned char *ustr1 = (const unsigned char *)str1;
@@ -16,4 +20,3 @@ int strcasecmp( const char *str1, const char *str2 )
     return toupper(*ustr1) - toupper(*ustr2);
 }
 #endif
-#endif