Skip to content

Is the underlying BOOL type a bool on Apple silicon #110

Closed
@schell

Description

@schell

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions