From da77693b17ff1f17f03ac78f0298294cf7d1087f Mon Sep 17 00:00:00 2001 From: Yee Cheng Chin Date: Tue, 28 Feb 2023 15:51:23 +0000 Subject: [PATCH] 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) --- src/os_mac.h | 3 ++- src/version.c | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/os_mac.h b/src/os_mac.h index a7b1dba06..2b5cbe457 100644 --- a/src/os_mac.h +++ b/src/os_mac.h @@ -272,7 +272,8 @@ # include -# 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 diff --git a/src/version.c b/src/version.c index aa9f88424..7ae6d8bca 100644 --- a/src/version.c +++ b/src/version.c @@ -695,6 +695,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1364, /**/ 1363, /**/ -- 2.40.0