353ea2d106
This changeset defines _WIN32_WINNT to at least 0x0501, the level of Windows XP, unless defined to a higher level, in a single place. It then removes all the overrides of _WIN32_WINNT in individual files as no longer needed. Doing this also solves compilation of windows-nat.c with mingw.org's MinGW, as that file uses CONSOLE_FONT_INFO which needs the XP level to become exposed in the Windows headers, while mingw.org defaults to Windows 9X. gdb/ChangeLog: 2019-05-03 Eli Zaretskii <eliz@gnu.org> * common/common-defs.h [__MINGW32__ || __CYGWIN__]: Define _WIN32_WINNT to the XP level, unless already defined to a higher level. * unittests/parse-connection-spec-selftests.c: * ser-tcp.c: * common/netstuff.c [USE_WIN32API]: Remove the _WIN32_WINNT override. gdb/gdbserver/ChangeLog: 2019-05-03 Eli Zaretskii <eliz@gnu.org> * remote-utils.c: * gdbreplay.c [USE_WIN32API]: Remove the _WIN32_WINNT override. |
||
---|---|---|
.. | ||
basic_string_view | ||
optional | ||
array-view-selftests.c | ||
child-path-selftests.c | ||
cli-utils-selftests.c | ||
common-utils-selftests.c | ||
copy_bitwise-selftests.c | ||
environ-selftests.c | ||
format_pieces-selftests.c | ||
function-view-selftests.c | ||
lookup_name_info-selftests.c | ||
memory-map-selftests.c | ||
memrange-selftests.c | ||
mkdir-recursive-selftests.c | ||
observable-selftests.c | ||
offset-type-selftests.c | ||
optional-selftests.c | ||
parse-connection-spec-selftests.c | ||
ptid-selftests.c | ||
rsp-low-selftests.c | ||
scoped_fd-selftests.c | ||
scoped_mmap-selftests.c | ||
scoped_restore-selftests.c | ||
string_view-selftests.c | ||
style-selftests.c | ||
tracepoint-selftests.c | ||
unpack-selftests.c | ||
utils-selftests.c | ||
xml-utils-selftests.c |