This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: wcsncasecmp undefined up to Mac OS X 10.7
- From: Nicholas Clifton <nickc at redhat dot com>
- To: Stefan Schmidt <stschmail at gmx dot de>
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Tue, 24 Feb 2015 17:05:06 +0000
- Subject: Re: wcsncasecmp undefined up to Mac OS X 10.7
- Authentication-results: sourceware.org; auth=none
- References: <F99EDB10-8945-4A70-BC8E-049416B02FFC at gmx dot de> <54EC4A6F dot 1040902 at redhat dot com> <41E4B0BC-70D8-4FE6-862C-D46B127C7FF1 at gmx dot de>
Hi Stefan,
I can confirm that your patch now allows building binutils successfully in my environment.
Great. I have now check the patch in along with this changelog info.
Cheers
Nick
bfd/ChangeLog
2015-02-24 Nick Clifton <nickc@redhat.com>
* configure.ac (AC_CHECK_HEADERS): Add wctype.h.
* configure: Regenerate.
* config.in: Regenerate.
* peXXigen.c: Include wctype.h if HAVE_WCTYPE_H is defined.
(u16_mbtowc): Use wint_t types if HAVE_WCTYPE_H is defined.
(rsrc_cmp): Use towlower instead of wcsncasecmp if HAVE_WCTYPE_H
is defined.