Patch 8.2.5071
Problem:    With some Mac OS version clockid_t is redefined.
Solution:   Adjust #ifdefs. (Ozaki Kiichi, closes #10549)
Files:      src/os_mac.h


*** ../vim-8.2.5070/src/os_mac.h        2022-06-05 22:05:15.600289401 +0100
--- src/os_mac.h        2022-06-09 14:45:43.565895557 +0100
***************
*** 272,286 ****
  
  # include <dispatch/dispatch.h>
  
! # if !defined(MAC_OS_X_VERSION_10_12) || \
!       (MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_12)
  typedef int clockid_t;
  # endif
  # ifndef CLOCK_REALTIME
! #   define CLOCK_REALTIME 0
  # endif
  # ifndef CLOCK_MONOTONIC
! #   define CLOCK_MONOTONIC 1
  # endif
  
  struct itimerspec
--- 272,285 ----
  
  # include <dispatch/dispatch.h>
  
! # ifndef MAC_OS_X_VERSION_10_12
  typedef int clockid_t;
  # endif
  # ifndef CLOCK_REALTIME
! #  define CLOCK_REALTIME 0
  # endif
  # ifndef CLOCK_MONOTONIC
! #  define CLOCK_MONOTONIC 1
  # endif
  
  struct itimerspec
*** ../vim-8.2.5070/src/version.c       2022-06-09 13:55:23.171025955 +0100
--- src/version.c       2022-06-09 14:48:30.433822615 +0100
***************
*** 736,737 ****
--- 736,739 ----
  {   /* Add new patch number below this line */
+ /**/
+     5071,
  /**/

-- 
I just planted an Algebra tree. It has square roots.

 /// 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/20220609135059.2DC931C071E%40moolenaar.net.

Raspunde prin e-mail lui