Patch 8.2.2909

3 views
Skip to first unread message

Bram Moolenaar

unread,
May 30, 2021, 8:02:36 AM5/30/21
to vim...@googlegroups.com

Patch 8.2.2909
Problem: Build error with non-Unix system.
Solution: Always include limits.h.
Files: src/vim.h


*** ../vim-8.2.2908/src/vim.h 2021-05-07 17:55:51.971584412 +0200
--- src/vim.h 2021-05-30 13:59:02.444047677 +0200
***************
*** 46,54 ****
# endif
# endif

- // for INT_MAX, LONG_MAX et al.
- # include <limits.h>
-
/*
* Cygwin may have fchdir() in a newer release, but in most versions it
* doesn't work well and avoiding it keeps the binary backward compatible.
--- 46,51 ----
***************
*** 62,67 ****
--- 59,67 ----
# define UINT32_TYPEDEF uint32_t
#endif

+ // for INT_MAX, LONG_MAX et al.
+ #include <limits.h>
+
#if !defined(UINT32_TYPEDEF)
# if defined(uint32_t) // this doesn't catch typedefs, unfortunately
# define UINT32_TYPEDEF uint32_t
*** ../vim-8.2.2908/src/version.c 2021-05-30 13:53:43.220969186 +0200
--- src/version.c 2021-05-30 14:00:28.051799796 +0200
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2909,
/**/

--
TALL KNIGHT: When you have found the shrubbery, then you must cut down the
mightiest tree in the forest ... with a herring.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

/// 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 ///
Reply all
Reply to author
Forward
0 new messages