Fix GDB build using mingw.org's MinGW
authorEli Zaretskii <eliz@gnu.org>
Thu, 19 Jul 2018 13:54:06 +0000 (16:54 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 19 Jul 2018 13:54:06 +0000 (16:54 +0300)
commitdb3410f80f793189d3c8afb8b80951333d3fe007
tree3e073b13f8dc15591f54c01fb6d48fd8e5ba2f61
parent442a6ce858c0da0c5fba3eeb57a646254adf107a
Fix GDB build using mingw.org's MinGW

libiberty/
2018-07-18  Eli Zaretskii  <eliz@gnu.org>

PR gdb/23434
* libiberty/simple-object-elf.c (ENOTSUP): If not defined by
        errno.h, redirect ENOTSUP to ENOSYS.
libiberty/ChangeLog
libiberty/simple-object-elf.c