str{n}casecmp(): unrecognized identifier

Marcus Meissner marcus at jet.franken.de
Sat Sep 30 05:27:00 CDT 2006


On Sat, Sep 30, 2006 at 10:50:27AM +0100, Andrew Talbot wrote:
> Hi,
> 
> 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.
> 
> I presume, because of the above defines, that just adding
> 
> #include <string.h>
> 
> ... in the affected files would not be a proper fix. I imagine it requires
> expert tweaking of the automake setup (or whatever) to ensure that this is
> done automatically (if it's not just a fault on my system), in which case I
> ask for suitable help, please.

Actually we have to use wine/port.h.

I sent in a patch (47545629d62da964293348a905f886162aae4f85).

Ciao, Marcus



More information about the wine-devel mailing list