setupapi/tests: There is no strncascmp() on Windows. So we must use msvcrt's _strnicmp() function instead.

Dmitry Timoshkov dmitry at codeweavers.com
Sun May 27 10:03:23 CDT 2007


"Francois Gouget" <fgouget at free.fr> wrote:

> There are other alternatives:
> * we could have an #ifdef _MSC_VER to switch between strncasecmp() and 
>   _strnicmp().
> * we could reimplement _strnicmp().
> * or maybe the test could be modified to not need this function at all?

4. use a kernel32 export lstrcmpiA

P.S.
Even in Wine code strncasecmp/strcasecmp should be deprecated since it uses
wrong locale.

-- 
Dmitry.



More information about the wine-devel mailing list