I was confused about this library's definition of BOOL until finding this comment on SO, which explains that BOOL is a C signed char on Darwin and a C bool on iOS. I think we need to also check the target_os to distinguish between aarch64-apple-darwin and aarch64-apple-ios, because I'm seeing odd errors when compiling bluster dfrankland/bluster#44 on my M1 laptop.
I will submit a patch if it ends up working.
I was confused about this library's definition of
BOOLuntil finding this comment on SO, which explains thatBOOLis a Csigned charon Darwin and a Cboolon iOS. I think we need to also check thetarget_osto distinguish betweenaarch64-apple-darwinandaarch64-apple-ios, because I'm seeing odd errors when compilingblusterdfrankland/bluster#44 on my M1 laptop.I will submit a patch if it ends up working.