Skip to content
Snippets Groups Projects
Commit 8354d168 authored by Juergen Lock's avatar Juergen Lock Committed by Alexandre Julliard
Browse files

Don't try to call towupper() when there's no wctype.h.

parent f4a27b8d
No related branches found
No related tags found
No related merge requests found
......@@ -34,6 +34,11 @@ static inline int strcmpW( const WCHAR *str1, const WCHAR *str2 )
return *str1 - *str2;
}
#ifndef HAVE_WCTYPE_H
/* FIXME */
#define towupper(ch) (HIBYTE(ch) ? ch : (WCHAR)toupper(LOBYTE(ch)))
#endif
static inline int strcmpiW( const WCHAR *str1, const WCHAR *str2 )
{
while (*str1 && (towupper(*str1) == towupper(*str2))) { str1++; str2++; }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment