diff --git a/modules/codec/vt_utils.c b/modules/codec/vt_utils.c index e28a788cbb9921127b3977ce63512b48c1e8fd71..9f91d30b796f112d47857031f26525f6b420372f 100644 --- a/modules/codec/vt_utils.c +++ b/modules/codec/vt_utils.c @@ -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, *)) {