aboutsummaryrefslogtreecommitdiff
path: root/bfd/config.in
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2015-02-24 17:01:23 +0000
committerNick Clifton <nickc@redhat.com>2015-02-24 17:01:23 +0000
commit31593e1b96c792abba3c5268d6423975aefa56b2 (patch)
treece993349f35e1985a69ced3df18b8a57eabfb814 /bfd/config.in
parent94d15024fe3dff908ab570aaa741b1c834c856d6 (diff)
downloadgdb-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/config.in')
-rw-r--r--bfd/config.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/config.in b/bfd/config.in
index b911bf6..96a3e74 100644
--- a/bfd/config.in
+++ b/bfd/config.in
@@ -262,6 +262,9 @@
/* Define to 1 if you have the <wchar.h> header file. */
#undef HAVE_WCHAR_H
+/* Define to 1 if you have the <wctype.h> header file. */
+#undef HAVE_WCTYPE_H
+
/* Define if <sys/procfs.h> has win32_pstatus_t. */
#undef HAVE_WIN32_PSTATUS_T