forked from aniani/vim
patch 8.2.5071: with some Mac OS version clockid_t is redefined
Problem: With some Mac OS version clockid_t is redefined. Solution: Adjust #ifdefs. (Ozaki Kiichi, closes #10549)
This commit is contained in:
@@ -272,8 +272,7 @@
|
||||
|
||||
# include <dispatch/dispatch.h>
|
||||
|
||||
# if !defined(MAC_OS_X_VERSION_10_12) || \
|
||||
(MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_12)
|
||||
# ifndef MAC_OS_X_VERSION_10_12
|
||||
typedef int clockid_t;
|
||||
# endif
|
||||
# ifndef CLOCK_REALTIME
|
||||
|
@@ -734,6 +734,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
5071,
|
||||
/**/
|
||||
5070,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user