Jachin
2f27ebb414
Fix compile on macOS 13 ( #12611 )
...
Use the __MAC_OS_X_VERSION_MIN_REQUIRED macro to detect the
macOS system version instead of using MAC_OS_X_VERSION_10_6.
From MacOSX14.0.sdk, the default definitions of MAC_OS_X_VERSION_xxx have
been removed in usr/include/AvailabilityMacros.h. It includes AvailabilityVersions.h,
where the following condition must be met:
`#if (!defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)) || defined(_DARWIN_C_SOURCE)`
Only then will MAC_OS_X_VERSION_xxx be defined.
However, in the project, _DARWIN_C_SOURCE is not defined, which leads to the
loss of the definition for MAC_OS_X_VERSION_10_6.
(cherry picked from commit a2b0701d2c )
2023-10-18 10:43:10 +03:00
..
2021-07-21 21:06:49 +03:00
2023-04-17 15:54:26 +03:00
2021-04-13 07:35:03 +03:00
2021-01-19 22:57:30 +02:00
2021-10-04 13:59:40 +03:00
2021-04-13 07:35:03 +03:00
2023-10-18 10:43:10 +03:00
2021-03-17 12:52:24 +02:00
2021-07-21 21:06:49 +03:00
2021-03-10 19:11:16 +02:00
2020-12-13 17:09:54 +02:00
2021-04-11 08:14:31 +03:00
2020-12-23 19:13:12 -08:00
2022-12-12 17:02:54 +02:00
2022-04-27 16:31:52 +03:00
2022-12-12 17:02:54 +02:00
2021-02-07 12:36:56 +02:00
2021-02-07 12:36:56 +02:00
2023-02-28 18:32:14 +02:00
2021-03-30 23:11:32 +03:00
2022-12-12 17:02:54 +02:00
2023-10-18 10:43:10 +03:00
2021-03-01 08:18:14 +02:00
2021-03-10 09:13:11 +02:00
2021-03-10 09:13:11 +02:00
2021-01-05 09:15:10 +02:00
2023-01-17 17:08:17 +02:00
2023-10-18 10:43:10 +03:00
2020-12-21 22:57:45 -08:00
2021-03-28 15:16:30 +03:00
2023-07-10 14:37:59 +03:00
2023-02-28 18:32:14 +02:00
2021-03-10 09:13:11 +02:00
2021-03-10 09:13:11 +02:00
2022-12-12 17:02:54 +02:00
2022-04-27 16:31:52 +03:00
2021-02-23 12:57:45 +02:00
2021-10-04 13:59:40 +03:00
2022-04-27 16:31:52 +03:00
2021-02-04 18:08:35 +02:00
2021-04-06 12:42:18 +03:00
2020-12-23 19:06:25 -08:00
2021-10-04 13:59:40 +03:00
2021-03-10 09:13:11 +02:00
2021-03-10 19:11:16 +02:00
2021-06-01 17:03:36 +03:00
2021-02-16 16:17:38 +02:00
2022-04-27 16:31:52 +03:00
2021-10-04 13:59:40 +03:00
2021-02-24 10:10:02 +02:00
2021-05-03 22:57:00 +03:00
2022-04-27 16:31:52 +03:00
2021-05-03 22:57:00 +03:00
2023-02-28 18:32:14 +02:00
2022-04-27 16:31:52 +03:00
2022-04-27 16:31:52 +03:00
2020-12-23 15:52:07 +02:00
2020-12-23 15:52:07 +02:00
2021-10-04 13:59:40 +03:00
2023-04-17 15:54:26 +03:00
2021-04-19 21:33:26 +03:00
2023-04-17 15:54:26 +03:00
2022-12-12 17:02:54 +02:00
2023-04-17 15:54:26 +03:00
2022-12-12 17:02:54 +02:00
2021-03-10 09:13:11 +02:00
2022-12-12 17:02:54 +02:00
2022-12-12 17:02:54 +02:00
2021-10-04 13:59:40 +03:00
2022-04-27 16:31:52 +03:00
2021-05-03 22:57:00 +03:00
2021-10-04 13:59:40 +03:00
2021-10-04 13:59:40 +03:00
2021-07-21 21:06:49 +03:00
2022-04-27 16:31:52 +03:00
2022-04-27 16:31:52 +03:00
2022-12-12 17:02:54 +02:00
2023-02-28 18:32:14 +02:00
2023-02-28 18:32:14 +02:00
2023-01-16 18:41:08 +02:00
2023-02-28 18:32:14 +02:00
2023-04-17 15:54:26 +03:00
2021-02-23 12:57:45 +02:00
2021-03-10 09:13:11 +02:00
2021-03-10 09:13:11 +02:00
2022-12-12 17:02:54 +02:00
2021-01-04 17:02:57 +02:00
2023-01-16 18:41:08 +02:00
2021-01-28 16:19:43 +02:00
2023-04-17 15:54:26 +03:00
2022-04-27 16:31:52 +03:00
2023-02-28 18:32:14 +02:00
2023-04-17 15:54:26 +03:00
2023-01-16 18:41:08 +02:00
2023-02-28 18:32:14 +02:00
2020-12-21 22:57:45 -08:00
2022-12-12 17:02:54 +02:00
2023-04-17 15:54:26 +03:00
2023-02-28 18:32:14 +02:00
2021-03-10 09:13:11 +02:00
2023-07-10 14:37:59 +03:00
2022-12-12 17:02:54 +02:00
2021-10-04 13:59:40 +03:00
2021-10-04 13:59:40 +03:00
2021-03-10 09:13:11 +02:00
2022-04-27 16:31:52 +03:00
2021-03-10 09:13:11 +02:00