wcsncasecmp undefined up to Mac OS X 10.7

Nicholas Clifton nickc@redhat.com
Tue Feb 24 22:33:00 GMT 2015


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.



More information about the Binutils mailing list