"Andrew Talbot" Andrew.Talbot@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.