Skip to content

Commit da77693

Browse files
ychinbrammool
authored andcommitted
patch 9.0.1364: build error with older Mac OS
Problem: Build error with older Mac OS. Solution: Adjust #ifdef. (Yee Cheng Chin, closes #12074)
1 parent 3f45d67 commit da77693

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

src/os_mac.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,8 @@
272272

273273
# include <dispatch/dispatch.h>
274274

275-
# ifndef MAC_OS_X_VERSION_10_12
275+
# if !defined(MAC_OS_X_VERSION_10_12) \
276+
|| (MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_12)
276277
typedef int clockid_t;
277278
# endif
278279
# ifndef CLOCK_REALTIME

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -695,6 +695,8 @@ static char *(features[]) =
695695

696696
static int included_patches[] =
697697
{ /* Add new patch number below this line */
698+
/**/
699+
1364,
698700
/**/
699701
1363,
700702
/**/

0 commit comments

Comments
 (0)