binutils-gdb/gdb/unittests
Eli Zaretskii 353ea2d106 On MS-Windows, define _WIN32_WINNT in a single common place.
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.
2019-05-03 10:55:33 +03:00
..
basic_string_view Fix year range in unittests/.../char/empty.cc copyright header 2019-01-02 10:11:41 +04:00
optional Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
array-view-selftests.c Normalize includes to use common/ 2019-01-25 15:28:16 -07:00
child-path-selftests.c Add a new function child_path. 2019-02-12 13:56:16 -08:00
cli-utils-selftests.c Rename gdb exception types 2019-04-08 09:05:40 -06:00
common-utils-selftests.c Normalize includes to use common/ 2019-01-25 15:28:16 -07:00
copy_bitwise-selftests.c Normalize includes to use common/ 2019-01-25 15:28:16 -07:00
environ-selftests.c Normalize includes to use common/ 2019-01-25 15:28:16 -07:00
format_pieces-selftests.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
function-view-selftests.c Normalize includes to use common/ 2019-01-25 15:28:16 -07:00
lookup_name_info-selftests.c Normalize includes to use common/ 2019-01-25 15:28:16 -07:00
memory-map-selftests.c Normalize includes to use common/ 2019-01-25 15:28:16 -07:00
memrange-selftests.c Normalize includes to use common/ 2019-01-25 15:28:16 -07:00
mkdir-recursive-selftests.c Normalize includes to use common/ 2019-01-25 15:28:16 -07:00
observable-selftests.c Normalize includes to use common/ 2019-01-25 15:28:16 -07:00
offset-type-selftests.c Normalize includes to use common/ 2019-01-25 15:28:16 -07:00
optional-selftests.c Normalize includes to use common/ 2019-01-25 15:28:16 -07:00
parse-connection-spec-selftests.c On MS-Windows, define _WIN32_WINNT in a single common place. 2019-05-03 10:55:33 +03:00
ptid-selftests.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
rsp-low-selftests.c Normalize includes to use common/ 2019-01-25 15:28:16 -07:00
scoped_fd-selftests.c Normalize includes to use common/ 2019-01-25 15:28:16 -07:00
scoped_mmap-selftests.c Normalize includes to use common/ 2019-01-25 15:28:16 -07:00
scoped_restore-selftests.c Normalize includes to use common/ 2019-01-25 15:28:16 -07:00
string_view-selftests.c gdb: unconditionally define _initialize_string_view_selftests 2019-03-18 00:01:13 -04:00
style-selftests.c Normalize includes to use common/ 2019-01-25 15:28:16 -07:00
tracepoint-selftests.c Normalize includes to use common/ 2019-01-25 15:28:16 -07:00
unpack-selftests.c Normalize includes to use common/ 2019-01-25 15:28:16 -07:00
utils-selftests.c Normalize includes to use common/ 2019-01-25 15:28:16 -07:00
xml-utils-selftests.c Normalize includes to use common/ 2019-01-25 15:28:16 -07:00