Martin Storsjö
0bffa4a84d
avfoundation: Fix compilation for iOS
...
This fixes building for iOS after commit
c2802e520a .
On iOS, the fallback define kIOMasterPortDefault is never available.
The newer define kIOMainPortDefault is available since iOS 15.
However, if building with older iOS SDKs (iOS 15 SDK or older) then
IOKit is entirely missing. This caused compilation to succeed if
building with such older versions of the iOS SDK.
If building with a newer iOS SDK/Xcode but targeting an older version
of iOS, then IOKit is available, but compilation would fail as
kIOMasterPortDefault wasn't available.
Thus, this fixes compilation for iOS with iOS 16 SDKs and newer,
which was previously broken.
2026-08-28 00:07:13 +03:00
..
2024-06-11 20:12:37 +03:00
2018-04-05 22:08:53 +01:00
2025-03-28 14:33:07 -03:00
2026-07-11 08:45:54 -05:00
2025-02-12 18:49:07 -03:00
2026-07-11 08:45:54 -05:00
2026-07-11 08:45:54 -05:00
2026-07-15 03:47:53 +00:00
2025-08-03 13:48:47 +02:00
2024-03-31 00:08:43 +01:00
2025-08-03 13:48:47 +02:00
2026-08-28 00:07:13 +03:00
2024-03-31 00:08:43 +01:00
2023-05-11 22:06:20 +08:00
2024-09-09 23:47:49 +02:00
2026-06-23 19:15:57 +02:00
2026-06-23 19:15:57 +02:00
2024-09-09 23:47:49 +02:00
2026-06-23 19:15:57 +02:00
2022-02-21 13:09:48 +01:00
2024-02-14 14:53:41 +01:00
2025-12-01 21:37:12 +00:00
2022-02-21 13:09:48 +01:00
2026-06-23 19:15:57 +02:00
2022-01-04 17:40:29 +05:30
2024-03-31 00:08:43 +01:00
2022-01-04 17:40:54 +05:30
2024-07-15 01:59:37 +02:00
2024-03-31 00:08:43 +01:00
2024-10-17 13:04:17 +02:00
2024-03-31 00:08:43 +01:00
2024-03-07 08:53:31 -03:00
2024-01-20 10:34:48 +01:00
2026-06-10 12:56:20 +00:00
2024-03-31 00:08:43 +01:00
2021-04-27 10:43:08 -03:00
2024-09-13 00:30:48 +02:00
2024-03-31 00:08:43 +01:00
2025-11-13 21:02:10 -03:00
2024-03-07 08:53:31 -03:00
2024-03-07 08:53:31 -03:00
2026-06-23 19:15:57 +02:00
2024-03-07 08:53:31 -03:00
2024-03-07 08:53:31 -03:00
2024-01-20 10:34:48 +01:00
2022-09-03 15:41:44 +02:00
2022-06-19 23:01:20 +02:00
2026-06-23 19:15:57 +02:00
2023-08-05 09:40:06 +02:00
2026-07-14 21:25:25 +00:00
2025-03-28 14:33:07 -03:00
2017-07-20 00:33:29 -03:00
2024-03-07 08:53:31 -03:00
2024-01-20 10:34:48 +01:00
2024-03-31 00:08:43 +01:00
2022-02-24 12:56:49 +01:00
2021-02-27 21:30:41 +01:00
2024-03-31 00:08:43 +01:00
2024-07-01 13:43:07 +02:00
2022-05-10 07:38:01 +02:00
2026-04-28 13:45:20 +00:00
2024-01-20 10:34:48 +01:00
2026-06-23 19:15:57 +02:00
2024-03-31 00:08:42 +01:00
2026-06-26 02:47:51 +02:00
2026-06-23 19:15:57 +02:00
2025-08-03 13:48:47 +02:00
2024-03-31 00:08:43 +01:00