Skip to content

Fix and normalize TARGET_OS macro references#129

Merged
petea merged 3 commits intomainfrom
petea-targetos
May 11, 2022
Merged

Fix and normalize TARGET_OS macro references#129
petea merged 3 commits intomainfrom
petea-targetos

Conversation

@petea
Copy link
Copy Markdown
Contributor

@petea petea commented May 11, 2022

Make sure we're doing the correct checks and using consistent and readable formatting.

EMM support is only provided for iOS at the moment, excluding the Mac Catalyst case. This should be checked with (TARGET_OS_IOS && !TARGET_OS_MACCATALYST) as TARGET_OS_IOS is true when building for the Mac Catalyst.

Note that (TARGET_OS_IOS || TARGET_OS_MACCATALYST) == TARGET_OS_IOS but the longer form is used for clarity.

@petea petea marked this pull request as ready for review May 11, 2022 19:57
@petea petea requested review from Alex-4-Git and mdmathias May 11, 2022 19:58
@petea petea added this to the 6.2.0 milestone May 11, 2022
@petea petea merged commit 47fa877 into main May 11, 2022
@petea petea deleted the petea-targetos branch August 30, 2022 23:21
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.

3 participants