File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -191,9 +191,7 @@ void _dispatch_prohibit_transition_to_multithreaded(bool prohibit);
191
191
typedef mach_port_t dispatch_runloop_handle_t ;
192
192
#elif defined(__linux__ )
193
193
typedef int dispatch_runloop_handle_t ;
194
- #elif defined(__FreeBSD__ )
195
- typedef uint64_t dispatch_runloop_handle_t ;
196
- #elif defined(__unix__ ) && !defined(__linux__ )
194
+ #elif defined(__unix__ )
197
195
typedef uint64_t dispatch_runloop_handle_t ;
198
196
#elif defined(_WIN32 )
199
197
typedef void * dispatch_runloop_handle_t ;
Original file line number Diff line number Diff line change @@ -6490,8 +6490,6 @@ _dispatch_runloop_queue_get_handle(dispatch_lane_t dq)
6490
6490
#elif defined(__linux__ )
6491
6491
// decode: 0 is a valid fd, so offset by 1 to distinguish from NULL
6492
6492
return ((dispatch_runloop_handle_t )(uintptr_t )dq -> do_ctxt ) - 1 ;
6493
- #elif defined(__FreeBSD__ )
6494
- return ((dispatch_runloop_handle_t )(uintptr_t )dq -> do_ctxt );
6495
6493
#elif defined(__unix__ )
6496
6494
return ((dispatch_runloop_handle_t )(uintptr_t )dq -> do_ctxt );
6497
6495
#elif defined(_WIN32 )
@@ -6511,9 +6509,7 @@ _dispatch_runloop_queue_set_handle(dispatch_lane_t dq,
6511
6509
#elif defined(__linux__ )
6512
6510
// encode: 0 is a valid fd, so offset by 1 to distinguish from NULL
6513
6511
dq -> do_ctxt = (void * )(uintptr_t )(handle + 1 );
6514
- #elif defined(__FreeBSD__ )
6515
- dq -> do_ctxt = (void * )(uintptr_t )handle ;
6516
- #elif defined(__unix__ ) && !defined(__linux__ )
6512
+ #elif defined(__unix__ )
6517
6513
dq -> do_ctxt = (void * )(uintptr_t )handle ;
6518
6514
#elif defined(_WIN32 )
6519
6515
dq -> do_ctxt = (void * )(uintptr_t )handle ;
You can’t perform that action at this time.
0 commit comments