Skip to content

Fix macOS detection - #462

Open
pinotree wants to merge 1 commit into
cameron314:masterfrom
pinotree:fix-apple-detection
Open

pinotree wants to merge 1 commit into
cameron314:masterfrom
pinotree:fix-apple-detection

Conversation

@pinotree

Copy link
Copy Markdown

Checking for __MACH__ is not enough, as that is defined for any OS that uses a (micro)kernel based on Mach (e.g. GNU/Hurd as well).

The proper way to check for macOS is using __APPLE__, so adapt the existing branches to check that too.

Checking for __MACH__ is not enough, as that is defined for any OS
that uses a (micro)kernel based on Mach (e.g. GNU/Hurd as well).

The proper way to check for macOS is using __APPLE__, so adapt the
existing branches to check that too.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant