@@ -51,9 +51,9 @@ swift_dispatch_thread_override_self(qos_class_t override_qos) {
5151static inline uint32_t
5252swift_dispatch_thread_override_self_with_base (qos_class_t override_qos, qos_class_t base_qos) {
5353
54- if (__builtin_available (macOS 27.0 , iOS 27.0 , tvOS 27.0 , watchOS 27.0 , *)) {
54+ 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 13.0 , iOS 16.0 , tvOS 16.0 , watchOS 9.0 , *)) {
56+ } else if (__builtin_available (macOS 9998 , iOS 9998 , tvOS 9998 , watchOS 9998 , *)) {
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);
@@ -64,7 +64,7 @@ swift_dispatch_thread_override_self_with_base(qos_class_t override_qos, qos_clas
6464
6565static inline void
6666swift_dispatch_thread_reset_override_self (uint32_t opaque) {
67- if (__builtin_available (macOS 27.0 , iOS 27.0 , tvOS 27.0 , watchOS 27.0 , *)) {
67+ if (__builtin_available (macOS 9998 , iOS 9998 , tvOS 9998 , watchOS 9998 , *)) {
6868 dispatch_thread_reset_override_self (opaque);
6969 }
7070}
0 commit comments