From 3405e1d8b06490a4559e0b35a2c085bf66bf20ac Mon Sep 17 00:00:00 2001 From: Selva Nair Date: Mon, 28 Nov 2022 18:35:03 -0500 Subject: [PATCH] Change target Windows version to Windows 7 from Vista Some features used in the next commit requires this. Signed-off-by: Selva Nair --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 5644fda..b8ac3ec 100644 --- a/configure.ac +++ b/configure.ac @@ -62,7 +62,7 @@ AC_ARG_ENABLE( case "$host" in *-mingw*) CPPFLAGS="${CPPFLAGS} -DWIN32_LEAN_AND_MEAN" - CPPFLAGS="${CPPFLAGS} -D_WIN32_WINNT=_WIN32_WINNT_VISTA -DWINVER=_WIN32_WINNT" + CPPFLAGS="${CPPFLAGS} -D_WIN32_WINNT=_WIN32_WINNT_WIN7 -DWINVER=_WIN32_WINNT" LDFLAGS="${LDFLAGS} -Wl,--nxcompat,--dynamicbase" dnl older mingw doesn't support `--high-entropy-va`