From d8f176913e51900cf57466ed90bbfbac603bfb43 Mon Sep 17 00:00:00 2001 From: pastdue <30942300+past-due@users.noreply.github.com> Date: Fri, 7 Feb 2025 23:07:31 -0500 Subject: [PATCH 1/3] CMake: Set _WIN32_WINNT=0x0601 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b59d941ac..fa329b4bb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -211,7 +211,7 @@ if(BUILD_QJS_LIBC) endif() list(APPEND qjs_defines _GNU_SOURCE) if(WIN32) - list(APPEND qjs_defines WIN32_LEAN_AND_MEAN _WIN32_WINNT=0x0602) + list(APPEND qjs_defines WIN32_LEAN_AND_MEAN _WIN32_WINNT=0x0601) endif() list(APPEND qjs_libs ${CMAKE_DL_LIBS}) find_package(Threads) From 08f9a4e72189ef6c253d660c1dc18911b57bdbe9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Mon, 10 Feb 2025 09:54:57 +0100 Subject: [PATCH 2/3] Update CMakeLists.txt --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index fa329b4bb..4d67a7352 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -211,6 +211,7 @@ if(BUILD_QJS_LIBC) endif() list(APPEND qjs_defines _GNU_SOURCE) if(WIN32) + # 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}) From a51cbc7ccea803dd81c2ddc6f87396c1cd172538 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Mon, 10 Feb 2025 09:56:21 +0100 Subject: [PATCH 3/3] Update supported_platforms.md --- docs/docs/supported_platforms.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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.