PR29915, bfdio.c does not compile with mingw.org's MinGW
authorAlan Modra <amodra@gmail.com>
Tue, 20 Dec 2022 07:31:07 +0000 (18:01 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 20 Dec 2022 08:31:10 +0000 (19:01 +1030)
commit9d0991449285833b9a77cc02850a1e113e460362
treee5047d50379eb53c84a593c91acc8a85f5cde6fd
parentb3737aadf1b6e11e37f8584c4feef73fd5c399ba
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.
bfd/bfdio.c
bfd/config.in
bfd/configure
bfd/configure.ac