precomp.cpp 249 Bytes
Newer Older
1
#include "precomp.hpp"
2 3 4 5 6 7 8 9 10 11 12 13

#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