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 -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            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/202105301202.14UC2TsJ1768750%40masaka.moolenaar.net.

Raspunde prin e-mail lui