Test system included into Android build
This commit is contained in:
@@ -1 +1,13 @@
|
||||
#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
|
||||
|
@@ -6,3 +6,7 @@
|
||||
|
||||
#include "opencv2/ts/ts.hpp"
|
||||
#include "opencv2/core/core_c.h"
|
||||
|
||||
#if ANDROID
|
||||
int wcscasecmp(const wchar_t* lhs, const wchar_t* rhs);
|
||||
#endif
|
Reference in New Issue
Block a user