Merge "Revert "Bump target for Windows clang toolchain to Windows 10"" into main
diff --git a/configs.py b/configs.py
index 15a49f3..b1babdb 100644
--- a/configs.py
+++ b/configs.py
@@ -468,10 +468,8 @@
cflags.append(f'--target={self.llvm_triple}')
cflags.append('-D_LARGEFILE_SOURCE')
cflags.append('-D_FILE_OFFSET_BITS=64')
- # Target >= Windows 10.
- # Both #defines are needed: https://learn.microsoft.com/en-us/cpp/porting/modifying-winver-and-win32-winnt?view=msvc-170
- cflags.append('-D_WIN32_WINNT=0x0A00')
- cflags.append('-DWINVER=0x0A00')
+ cflags.append('-D_WIN32_WINNT=0x0600')
+ cflags.append('-DWINVER=0x0600')
cflags.append('-D__MSVCRT_VERSION__=0x1400')
if self.target_arch == hosts.Arch.I386:
cflags.append('-fsjlj-exceptions')