File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -197,12 +197,10 @@ typedef void *dispatch_runloop_handle_t;
197
197
#error "runloop support not implemented on this platform"
198
198
#endif
199
199
200
- #if TARGET_OS_MAC
201
200
API_AVAILABLE (macos (10.6 ), ios (4.0 ))
202
201
DISPATCH_EXPORT DISPATCH_CONST DISPATCH_WARN_RESULT DISPATCH_NOTHROW
203
202
dispatch_runloop_handle_t
204
203
_dispatch_get_main_queue_port_4CF (void );
205
- #endif
206
204
207
205
API_AVAILABLE (macos (10.12 ), ios (10.0 ), tvos (10.0 ), watchos (3.0 ))
208
206
DISPATCH_EXPORT DISPATCH_NOTHROW
@@ -221,12 +219,12 @@ dispatch_queue_serial_t
221
219
_dispatch_runloop_root_queue_create_4CF (const char * _Nullable label ,
222
220
unsigned long flags );
223
221
224
- #if TARGET_OS_MAC || defined(_WIN32 )
225
222
API_AVAILABLE (macos (10.9 ), ios (7.0 ))
226
223
DISPATCH_EXPORT DISPATCH_WARN_RESULT DISPATCH_NOTHROW
227
224
dispatch_runloop_handle_t
228
225
_dispatch_runloop_root_queue_get_port_4CF (dispatch_queue_t queue );
229
226
227
+ #if TARGET_OS_MAC
230
228
API_AVAILABLE (macos (10.13 .2 ), ios (11.2 ), tvos (11.2 ), watchos (4.2 ))
231
229
DISPATCH_EXPORT DISPATCH_WARN_RESULT DISPATCH_NOTHROW
232
230
bool
Original file line number Diff line number Diff line change @@ -6939,13 +6939,11 @@ _dispatch_get_main_queue_handle_4CF(void)
6939
6939
return _dispatch_runloop_queue_get_handle (dq -> _as_dl );
6940
6940
}
6941
6941
6942
- #if TARGET_OS_MAC
6943
6942
dispatch_runloop_handle_t
6944
6943
_dispatch_get_main_queue_port_4CF (void )
6945
6944
{
6946
6945
return _dispatch_get_main_queue_handle_4CF ();
6947
6946
}
6948
- #endif
6949
6947
6950
6948
void
6951
6949
_dispatch_main_queue_callback_4CF (
You can’t perform that action at this time.
0 commit comments