diff --git a/README.md b/README.md index 862bfaf..9a6b7dd 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/build-mingw-w64.sh b/build-mingw-w64.sh index aa3b9e3..51826c2 100755 --- a/build-mingw-w64.sh +++ b/build-mingw-w64.sh @@ -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