Bump the default _WIN32_WINNT to 0x0601, i.e. Windows 7

Since the C++ libraries require Windows 7, there's little point in
keeping the default target for C at Vista.
This commit is contained in:
Martin Storsjö committed 2019-11-26 12:16:38 +02:00
1 parent ce7d3ec874
commit 3d13aefc70
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -90,7 +90,7 @@ normal GCC/binutils based MinGW.
everything that GNU windres does.
- The toolchain defaults to using the Universal CRT (which is only available
out of the box since Windows 10, but can be installed on Vista or newer)
and defaults to targeting Vista. These defaults can be changed in
and defaults to targeting Windows 7. These defaults can be changed in
`build-mingw-w64.sh` though.
- The toolchain uses Windows native TLS support, which doesn't work properly
until Windows Vista. This has no effect on code not using thread local
+2 -2
View File
@@ -2,7 +2,7 @@
set -e
DEFAULT_WIN32_WINNT=0x600
DEFAULT_WIN32_WINNT=0x601
DEFAULT_MSVCRT=ucrt
unset HOST
@@ -27,7 +27,7 @@ while [ $# -gt 0 ]; do
shift
done
if [ -z "$PREFIX" ]; then
echo $0 [--skip-include-triplet-prefix] [--with-default-win32-winnt=0x600] [--with-default-msvcrt=ucrt] dest
echo $0 [--skip-include-triplet-prefix] [--with-default-win32-winnt=0x601] [--with-default-msvcrt=ucrt] dest
exit 1
fi