diff --git a/CMakeLists.txt b/CMakeLists.txt index b59d941ac..4d67a7352 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -211,7 +211,8 @@ if(BUILD_QJS_LIBC) endif() list(APPEND qjs_defines _GNU_SOURCE) if(WIN32) - list(APPEND qjs_defines WIN32_LEAN_AND_MEAN _WIN32_WINNT=0x0602) + # NB: Windows 7 is EOL and we are only supporting in so far as it doesn't interfere with progress. + list(APPEND qjs_defines WIN32_LEAN_AND_MEAN _WIN32_WINNT=0x0601) endif() list(APPEND qjs_libs ${CMAKE_DL_LIBS}) find_package(Threads) diff --git a/docs/docs/supported_platforms.md b/docs/docs/supported_platforms.md index 57fd7ead2..94149ed9c 100644 --- a/docs/docs/supported_platforms.md +++ b/docs/docs/supported_platforms.md @@ -8,7 +8,7 @@ sidebar_position: 8 |---|---|---| | GNU/Linux | * | glibc and musl are supported | | macOS | macOS >= 11 | Currently supported macOS releases | -| Windows | >= Windows 8 | VS >= 2022 and Clang are supported | +| Windows | >= Windows 7* | VS >= 2022 and Clang are supported | | FreeBSD | * | Limited testing | | OpenBSD | * | Limited testing | | NetBSD | * | Limited testing | @@ -16,3 +16,5 @@ sidebar_position: 8 | iOS | * | Limited testing | | MinGW | MinGW-w64 | | | Other | N/A | Missing? Open a PR! | + +- `*`: Windows 7 is EOL and only supported in this project as long as it doesn't interfere with its progress.