]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Fix compilation with mingw.org's MinGW.
authorEli Zaretskii <eliz@gnu.org>
Fri, 3 May 2019 07:40:02 +0000 (10:40 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 3 May 2019 07:40:02 +0000 (10:40 +0300)
commitbc694fdc3ccfb7bac93b5480dff908076c7d7893
treeaf65af68c6ce4b5391d2970e21ab9032fed09400
parent661f388860346b3747b3b76479f2a784f3b8e9da
Fix compilation with mingw.org's MinGW.

That flavor of MinGW assumes Windows 9X as the default target,
which doesn't expose CONSOLE_FONT_INFO stuff in Windows header
files.  Since we no longer support running on Windows older
than XP anyway, requiring it at build time makes sense.

gdb/ChangeLog
2019-05-03  Eli Zaretskii  <eliz@gnu.org>

* windows-nat.c [_WIN32_WINNT]: Define _WIN32_WINNT to Windows XP
level, so that various Windows header files expose the necessary
declarations and definitions.
gdb/ChangeLog
gdb/windows-nat.c