]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - bfd/configure.ac
Fixes compiling peXXigen under MAC OS/X where the wcsncasecmp function is not available.
authorNick Clifton <nickc@redhat.com>
Tue, 24 Feb 2015 17:01:23 +0000 (17:01 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 24 Feb 2015 17:01:23 +0000 (17:01 +0000)
commit31593e1b96c792abba3c5268d6423975aefa56b2
treece993349f35e1985a69ced3df18b8a57eabfb814
parent94d15024fe3dff908ab570aaa741b1c834c856d6
Fixes compiling peXXigen under MAC OS/X where the wcsncasecmp function is not available.

* 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.
bfd/ChangeLog
bfd/config.in
bfd/configure
bfd/configure.ac
bfd/peXXigen.c