Skip to content
Snippets Groups Projects
Commit 7205d862 authored by Steve Lhomme's avatar Steve Lhomme
Browse files

vt_utils: fix define checks

parent bbc22577
No related branches found
No related tags found
1 merge request!6762vt_utils: fix define checks
Pipeline #560822 failed with stage
in 15 minutes and 14 seconds
......@@ -408,8 +408,8 @@ cvpx_map_TransferFunction_from_vtf(video_transfer_func_t transfer_func)
}
bool cvpx_has_attachment(CVPixelBufferRef pixelBuffer, CFStringRef key) {
#if (TARGET_OS_OSX && defined(__MAC_10_14) && MAC_OS_X_VERSION_MAX_ALLOWED >= __MAC_10_12) ||\
(TARGET_OS_IOS && defined(__IPHONE_12_0) && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_15_0) || \
#if (TARGET_OS_OSX && defined(__MAC_10_12) && MAC_OS_X_VERSION_MAX_ALLOWED >= __MAC_10_12) ||\
(TARGET_OS_IOS && defined(__IPHONE_15_0) && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_15_0) || \
(TARGET_OS_TV && defined(__TVOS_15_0) && __TV_OS_VERSION_MAX_ALLOWED >= __TVOS_15_0) || \
(TARGET_OS_WATCH && defined(__WATCHOS_8_0) && __WATCH_OS_VERSION_MAX_ALLOWED >= __WATCHOS_8_0)
if (__builtin_available(macOS 10.12, iOS 15, tvOS 15, watchOS 8, *)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment