@@ -4073,7 +4073,7 @@ _dispatch_runloop_handle_is_valid(dispatch_runloop_handle_t handle)
4073
4073
#elif defined(__linux__ )
4074
4074
return handle >= 0 ;
4075
4075
#else
4076
- #error
4076
+ #error "runloop support not implemented on this platform"
4077
4077
#endif
4078
4078
}
4079
4079
@@ -4086,7 +4086,7 @@ _dispatch_runloop_queue_get_handle(dispatch_queue_t dq)
4086
4086
#elif defined(__linux__ )
4087
4087
return ((dispatch_runloop_handle_t )(uintptr_t )dq -> do_ctxt ) - 1 ;
4088
4088
#else
4089
- #error
4089
+ #error "runloop support not implemented on this platform"
4090
4090
#endif
4091
4091
}
4092
4092
@@ -4099,7 +4099,7 @@ _dispatch_runloop_queue_set_handle(dispatch_queue_t dq, dispatch_runloop_handle_
4099
4099
#elif defined(__linux__ )
4100
4100
dq -> do_ctxt = (void * )(uintptr_t )(handle + 1 );
4101
4101
#else
4102
- #error
4102
+ #error "runloop support not implemented on this platform"
4103
4103
#endif
4104
4104
}
4105
4105
@@ -4186,7 +4186,7 @@ _dispatch_runloop_queue_class_poke(dispatch_queue_t dq)
4186
4186
} while (result == -1 && errno == EINTR );
4187
4187
(void )dispatch_assume_zero (result );
4188
4188
#else
4189
- #error
4189
+ #error "runloop support not implemented on this platform"
4190
4190
#endif
4191
4191
}
4192
4192
@@ -5677,7 +5677,7 @@ _dispatch_runloop_queue_handle_init(void *ctxt)
5677
5677
#elif defined(__linux__ )
5678
5678
handle = eventfd (0 , EFD_CLOEXEC | EFD_NONBLOCK );
5679
5679
#else
5680
- #error
5680
+ #error "runloop support not implemented on this platform"
5681
5681
#endif
5682
5682
(void )dispatch_assume (_dispatch_runloop_handle_is_valid (handle ));
5683
5683
_dispatch_runloop_queue_set_handle (dq , handle );
@@ -5704,7 +5704,7 @@ _dispatch_runloop_queue_handle_dispose(dispatch_queue_t dq)
5704
5704
int rc = close (handle );
5705
5705
(void )dispatch_assume_zero (rc );
5706
5706
#else
5707
- #error
5707
+ #error "runloop support not implemented on this platform"
5708
5708
#endif
5709
5709
}
5710
5710
0 commit comments