Patch 9.0.1420 (after 9.0.1418)
Problem: Build failure because SIZE_MAX is not defined.
Solution: Define SIZE_MAX when missing. (John Marriott)
Files: src/xdiff/xmacros.h
*** ../vim-9.0.1419/src/xdiff/xmacros.h 2023-03-20 17:30:41.566898322 +0000
--- src/xdiff/xmacros.h 2023-03-21 20:02:37.365897293 +0000
***************
*** 24,30 ****
#define XMACROS_H
!
#define XDL_MIN(a, b) ((a) < (b) ? (a): (b))
#define XDL_MAX(a, b) ((a) > (b) ? (a): (b))
--- 24,34 ----
#define XMACROS_H
! #ifdef __hpux
! # ifndef SIZE_MAX
! # define SIZE_MAX ((size_t)(-1))
! # endif
! #endif
#define XDL_MIN(a, b) ((a) < (b) ? (a): (b))
#define XDL_MAX(a, b) ((a) > (b) ? (a): (b))
*** ../vim-9.0.1419/src/version.c 2023-03-21 19:57:29.617747748 +0000
--- src/version.c 2023-03-21 20:03:54.921936598 +0000
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 1420,
/**/
--
"My particular problem is with registry entries, which seem to just
accumulate like plastic coffee cups..." -- Paul Moore
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///