Patch 8.2.0903
Problem:    comparing WINVER does not work correctly.
Solution:   Use arithmethic expansion. (Ozaki Kiichi, closes #6197)
Files:      src/Make_cyg_ming.mak


*** ../vim-8.2.0902/src/Make_cyg_ming.mak       2020-06-01 14:34:22.023462275 
+0200
--- src/Make_cyg_ming.mak       2020-06-04 21:29:10.730476852 +0200
***************
*** 625,631 ****
  
  ifeq ($(CHANNEL),yes)
  DEFINES += -DFEAT_JOB_CHANNEL -DFEAT_IPV6
!  ifeq ($(shell expr "$(WINVER)" \>= 0x600),1)
  DEFINES += -DHAVE_INET_NTOP
   endif
  endif
--- 625,631 ----
  
  ifeq ($(CHANNEL),yes)
  DEFINES += -DFEAT_JOB_CHANNEL -DFEAT_IPV6
!  ifeq ($(shell expr "$$(($(WINVER)))" \>= "$$((0x600))"),1)
  DEFINES += -DHAVE_INET_NTOP
   endif
  endif
*** ../vim-8.2.0902/src/version.c       2020-06-04 20:55:37.300027492 +0200
--- src/version.c       2020-06-04 21:30:28.498254361 +0200
***************
*** 748,749 ****
--- 748,751 ----
  {   /* Add new patch number below this line */
+ /**/
+     903,
  /**/

-- 
ARTHUR: Right! Knights! Forward!
   ARTHUR leads a charge toward the castle.  Various shots of them battling on,
   despite being hit by a variety of farm animals.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202006041933.054JXW5N822933%40masaka.moolenaar.net.

Raspunde prin e-mail lui