git/compat/win32
Matthias Aßhauer 66dd13f3f7 unify and bump _WIN32_WINNT definition to Windows 8.1
Git for Windows doesn't support anything prior to Windows 8.1 since 2.47.0
and Git followed along with commits like ce6ccba (mingw: drop Windows
7-specific work-around, 2025-08-04).

There is no need to pretend to the compiler that we still support Windows
Vista, just to lock us out of easy access to newer APIs. There is also no
need to have conflicting and unused definitions claiming we support some
versions of Windows XP or even Windows NT 4.0.

Bump all definitions of _WIN32_WINNT to a realistic value of Windows 8.1.
This will also simplify code for a followup commit that will improve cpu
core detection on multi-socket systems.

Signed-off-by: Matthias Aßhauer <mha1993@live.de>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2026-04-06 10:06:20 -07:00
..
alloca.h
dirent.c mingw: teach dirent about symlinks 2026-01-09 18:32:55 -08:00
dirent.h
flush.c unify and bump _WIN32_WINNT definition to Windows 8.1 2026-04-06 10:06:20 -07:00
git.manifest
headless.c compat/win32: fix -Wsign-compare warning in "wWinMain()" 2024-12-06 20:20:01 +09:00
lazyload.h lazyload: use correct calling conventions 2022-01-09 10:34:53 -08:00
path-utils.c environment: guard state depending on a repository 2024-09-12 10:15:42 -07:00
path-utils.h win32: override `fspathcmp()` with a directory separator-aware version 2024-07-13 16:23:36 -07:00
pthread.c win32: return error if SleepConditionVariableCS fails 2025-11-20 14:45:26 -08:00
pthread.h Merge branch 'gf/win32-pthread-cond-init' 2025-12-16 11:08:34 +09:00
syslog.c compat: mark unused parameters in win32/mingw functions 2024-08-28 09:51:18 -07:00
syslog.h
trace2_win32_process_info.c trace2: emit cmd_ancestry data for Windows 2026-02-13 12:18:31 -08:00