New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Add the missing include header that defines TARGET_OS_OSX #7116
chore: Add the missing include header that defines TARGET_OS_OSX #7116
Conversation
@ChristianEdwardPadilla is this necessary since I believe the target conditionals are already pulled in from the |
@russellwheatley We are seeing issues during cross-compilation. When switching to cross-compiling, the newer version of clang cross compiler introduces the warning flag "-Wundef-prefix=TARGET_OS_". So the import needs to be explicit. |
Hey @ChristianEdwardPadilla, do you mind installing melos and running |
Description
Add the missing include header that defines TARGET_OS_OSX.
Related Issues
None.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]
).This will ensure a smooth and quick review process. Updating the
pubspec.yaml
and changelogs is not required.///
).melos run analyze
) does not report any problems on my PR.Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?