opencv/modules/ts/src/precomp.cpp

14 lines
249 B
C++
Raw Normal View History

2011-02-10 06:03:01 +08:00
#include "precomp.hpp"
#if ANDROID
int wcscasecmp(const wchar_t* lhs, const wchar_t* rhs)
{
wint_t left, right;
do {
left = towlower(*lhs++);
right = towlower(*rhs++);
} while (left && left == right);
return left == right;
}
#endif