str{n}casecmp(): unrecognized identifier

Dmitry Timoshkov dmitry at codeweavers.com
Sat Sep 30 06:46:41 CDT 2006


"Andrew Talbot" <Andrew.Talbot at talbotville.com> wrote:

> It seems that, on my [x86_64] system, at least, string.h is not being
> included in the files where strcasecmp() or strncasecmp() is used (for
> example, in crypt32/oid.c), despite HAVE_STRCASECMP and HAVE_STRNCASECMP
> being defined as 1.

str[n]casecmp should be used only to compare strings received from an
underlying system, in all other cases win32 API lstrcmp[i]A should be
used instead, otherwise bad side effects could arise due to using wrong
locale.

-- 
Dmitry.



More information about the wine-devel mailing list