Skip to content

Commit

Permalink
patch 9.0.1364: build error with older Mac OS
Browse files Browse the repository at this point in the history
Problem:    Build error with older Mac OS.
Solution:   Adjust #ifdef. (Yee Cheng Chin, closes #12074)
  • Loading branch information
ychin authored and brammool committed Feb 28, 2023
1 parent 3f45d67 commit da77693
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/os_mac.h
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,8 @@

# include <dispatch/dispatch.h>

# ifndef MAC_OS_X_VERSION_10_12
# if !defined(MAC_OS_X_VERSION_10_12) \
|| (MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_12)
typedef int clockid_t;
# endif
# ifndef CLOCK_REALTIME
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1364,
/**/
1363,
/**/
Expand Down

0 comments on commit da77693

Please sign in to comment.