Skip to content

Commit 8091359

Browse files
authored
Adjust availability checks in DispatchShims.h (#85634)
1 parent 7c8766f commit 8091359

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/Runtime/DispatchShims.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ swift_dispatch_thread_override_self_with_base(qos_class_t override_qos, qos_clas
5353

5454
if (__builtin_available(macOS 9998, iOS 9998, tvOS 9998, watchOS 9998, *)) {
5555
return dispatch_thread_override_self_with_base(override_qos, base_qos);
56-
} else if (__builtin_available(macOS 9998, iOS 9998, tvOS 9998, watchOS 9998, *)) {
56+
} else if (__builtin_available(macOS 13.0, iOS 16.0, tvOS 16.0, watchOS 9.0, *)) {
5757
// If we don't have the ability to set our base qos correctly, at least set the override
5858
// We want to return 0 here because we have nothing to reset in this case
5959
(void) dispatch_thread_override_self(override_qos);

0 commit comments

Comments
 (0)