Commit: patch 9.1.1735: Cygwin Makefile still checks for Win XP version

0 views
Skip to first unread message

Christian Brabandt

unread,
Sep 6, 2025, 4:15:16 AMSep 6
to vim...@googlegroups.com
patch 9.1.1735: Cygwin Makefile still checks for Win XP version

Commit: https://github.com/vim/vim/commit/ecdd89f6bf6c341297579119e129b28fa3356707
Author: Mao-Yining <mao.y...@outlook.com>
Date: Sat Sep 6 10:03:11 2025 +0200

patch 9.1.1735: Cygwin Makefile still checks for Win XP version

Problem: Cygwin Makefile still checks for Win XP version
Solution: Remove check for WINVER >= 0x600 in Make_cyg_ming.mak
(Mao-Yining)

Vim's does no longer support Windows XP and Vista since v9.0.0496. So
the condition in Make_cyg_ming.mak to check for any Windows version below
Vista can be removed.

fixes: #18160
closes: #18215

Signed-off-by: Mao-Yining <mao.y...@outlook.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/Make_cyg_ming.mak b/src/Make_cyg_ming.mak
index 3ffa8600d..bb84cd9c5 100644
--- a/src/Make_cyg_ming.mak
+++ b/src/Make_cyg_ming.mak
@@ -665,9 +665,7 @@ endif

ifeq ($(CHANNEL),yes)
DEFINES += -DFEAT_JOB_CHANNEL -DFEAT_IPV6
- ifeq ($(shell expr "$$(($(WINVER)))" \>= "$$((0x600))"),1)
DEFINES += -DHAVE_INET_NTOP
- endif
endif

ifeq ($(TERMINAL),yes)
diff --git a/src/version.c b/src/version.c
index 8cddb1271..e6b9f9dfd 100644
--- a/src/version.c
+++ b/src/version.c
@@ -724,6 +724,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1735,
/**/
1734,
/**/
Reply all
Reply to author
Forward
0 new messages