[swift-corelibs-dev] [swift-corelibs-libdispatch] Port transform and use libbsd (#13)

Chris Hanson cmh at mac.com
Sat Dec 19 15:11:56 CST 2015


On Dec 14, 2015, at 8:12 PM, Pierre Habouzit via swift-corelibs-dev <swift-corelibs-dev at swift.org> wrote:
> 
> Technically, until someone ports libdispatch to GNU/Hurd,it’s okay to use #if __APPLE__ to hide anything mach related.

I think it would be better not to conflate __APPLE__ and HAVE_MACH.

I don't expect a libdispatch port to OSF/1 any time soon, but libdispatch is already used in Jordan Hubbard's "NextBSD" effort, and that actually does provide Mach APIs without being an Apple platform.

  -- Chris



More information about the swift-corelibs-dev mailing list