mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 05:10:36 +00:00
include: Add wcsicmp() inline wrapper.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9b63daca51
commit
1f38c1abf6
|
@ -147,6 +147,7 @@ static inline char* strupr(char* str) { return _strupr(str); }
|
|||
static inline wchar_t* wcsdup(const wchar_t* str) { return _wcsdup(str); }
|
||||
static inline int wcsicoll(const wchar_t* str1, const wchar_t* str2) { return _wcsicoll(str1, str2); }
|
||||
static inline wchar_t* wcslwr(wchar_t* str) { return _wcslwr(str); }
|
||||
static inline int wcsicmp(const wchar_t* s1, const wchar_t* s2) { return _wcsicmp(s1, s2); }
|
||||
static inline int wcsnicmp(const wchar_t* str1, const wchar_t* str2, size_t n) { return _wcsnicmp(str1, str2, n); }
|
||||
static inline wchar_t* wcsnset(wchar_t* str, wchar_t c, size_t n) { return _wcsnset(str, c, n); }
|
||||
static inline wchar_t* wcsrev(wchar_t* str) { return _wcsrev(str); }
|
||||
|
|
|
@ -230,7 +230,7 @@ static DWORD wchar_get_type(const WCHAR *type_name)
|
|||
|
||||
for (i = 0; i < ARRAY_SIZE(type_rels); i++)
|
||||
{
|
||||
if (!_wcsicmp(type_rels[i].name, type_name))
|
||||
if (!wcsicmp(type_rels[i].name, type_name))
|
||||
return type_rels[i].type;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue