cabinet: Include wine/port.h for strcasecmp().

Bang Jun-young junyoung at mogua.com
Fri Feb 1 16:36:16 CST 2008


On 2/1/08, Francois Gouget <fgouget at free.fr> wrote:
> The rules are as follows:
>
>  * For case insensitive comparisons of 'windows strings', a Windows
>    function must be used (stricmp() or similar).

In this case, KERNEL32 lstrcmpiA() would be more appropriate. In
general, using stricmp() in Win32 code should be discouraged since it
may cause unnecessary dependency on MSVCRT.

BTW, isn't there any documentation for Wine hackers WRT this?



More information about the wine-devel mailing list