2 #include "wine/config.h"
5 #ifndef HAVE_STRCASECMP
11 int strcasecmp( const char *str1
, const char *str2
)
13 const unsigned char *ustr1
= (const unsigned char *)str1
;
14 const unsigned char *ustr2
= (const unsigned char *)str2
;
16 while (*ustr1
&& toupper(*ustr1
) == toupper(*ustr2
)) {
20 return toupper(*ustr1
) - toupper(*ustr2
);