mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.0903: comparing WINVER does not work correctly
Problem: comparing WINVER does not work correctly. Solution: Use arithmethic expansion. (Ozaki Kiichi, closes #6197)
This commit is contained in:
@@ -625,7 +625,7 @@ endif
|
|||||||
|
|
||||||
ifeq ($(CHANNEL),yes)
|
ifeq ($(CHANNEL),yes)
|
||||||
DEFINES += -DFEAT_JOB_CHANNEL -DFEAT_IPV6
|
DEFINES += -DFEAT_JOB_CHANNEL -DFEAT_IPV6
|
||||||
ifeq ($(shell expr "$(WINVER)" \>= 0x600),1)
|
ifeq ($(shell expr "$$(($(WINVER)))" \>= "$$((0x600))"),1)
|
||||||
DEFINES += -DHAVE_INET_NTOP
|
DEFINES += -DHAVE_INET_NTOP
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
@@ -746,6 +746,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
903,
|
||||||
/**/
|
/**/
|
||||||
902,
|
902,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user