diff options
author | Alan Modra <amodra@gmail.com> | 2022-12-20 18:01:07 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-12-20 19:01:10 +1030 |
commit | 9d0991449285833b9a77cc02850a1e113e460362 (patch) | |
tree | e5047d50379eb53c84a593c91acc8a85f5cde6fd /bfd/config.in | |
parent | b3737aadf1b6e11e37f8584c4feef73fd5c399ba (diff) | |
download | gdb-9d0991449285833b9a77cc02850a1e113e460362.zip gdb-9d0991449285833b9a77cc02850a1e113e460362.tar.gz gdb-9d0991449285833b9a77cc02850a1e113e460362.tar.bz2 |
PR29915, bfdio.c does not compile with mingw.org's MinGW
PR 29915
* configure.ac: Add AC_CHECK_DECLS test ___lc_codepage_func.
* configure: Regenerate.
* config.in: Regenerate.
* bfdio.c (___lc_codepage_func): Move declaration to..
(_bfd_real_fopen): ..here, and use !HAVE_DECL____LC_CODEPAGE_FUNC.
Diffstat (limited to 'bfd/config.in')
-rw-r--r-- | bfd/config.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/config.in b/bfd/config.in index a59304e..e5132df 100644 --- a/bfd/config.in +++ b/bfd/config.in @@ -64,6 +64,10 @@ don't. */ #undef HAVE_DECL_VASPRINTF +/* Define to 1 if you have the declaration of `___lc_codepage_func', and to 0 + if you don't. */ +#undef HAVE_DECL____LC_CODEPAGE_FUNC + /* Define to 1 if you have the <dlfcn.h> header file. */ #undef HAVE_DLFCN_H |