diff options
author | Nick Clifton <nickc@redhat.com> | 2015-02-24 17:01:23 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2015-02-24 17:01:23 +0000 |
commit | 31593e1b96c792abba3c5268d6423975aefa56b2 (patch) | |
tree | ce993349f35e1985a69ced3df18b8a57eabfb814 /bfd/configure | |
parent | 94d15024fe3dff908ab570aaa741b1c834c856d6 (diff) | |
download | gdb-31593e1b96c792abba3c5268d6423975aefa56b2.zip gdb-31593e1b96c792abba3c5268d6423975aefa56b2.tar.gz gdb-31593e1b96c792abba3c5268d6423975aefa56b2.tar.bz2 |
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.
Diffstat (limited to 'bfd/configure')
-rwxr-xr-x | bfd/configure | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/configure b/bfd/configure index 20b2e27..a328813 100755 --- a/bfd/configure +++ b/bfd/configure @@ -12988,7 +12988,7 @@ $as_echo "$bfd_cv_build_exeext" >&6; } fi -for ac_header in alloca.h stddef.h string.h strings.h stdlib.h time.h unistd.h wchar.h +for ac_header in alloca.h stddef.h string.h strings.h stdlib.h time.h unistd.h wchar.h wctype.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |