Skip to content

POSIX Simulator: Remove unused __APPLE__ mach_vm.h include #1225

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

Merged
merged 2 commits into from
Jan 21, 2025

Conversation

johnboiles
Copy link
Contributor

Remove unused __APPLE__ mach_vm.h include

Description

Looks like this was left over from #674 but the rest of that code (The mach_vm_round_page/mach_vm_trunc_page bits) are no longer in the codebase.

Including this file breaks compilation for iOS.

Test Steps

Run the POSIX sim on macOS. It still works!

Checklist:

  • I have tested my changes. No regression in existing tests.
  • I have modified and/or added unit-tests to cover the code changes in this Pull Request.

@johnboiles johnboiles requested a review from a team as a code owner January 18, 2025 01:09
@johnboiles johnboiles changed the title Remove unused __APPLE__ mach_vm.h include POSIX Simulator: Remove unused __APPLE__ mach_vm.h include Jan 18, 2025
aggarg
aggarg previously approved these changes Jan 20, 2025
Signed-off-by: Gaurav Aggarwal <[email protected]>
@aggarg aggarg merged commit a585796 into FreeRTOS:main Jan 21, 2025
17 checks passed
@johnboiles johnboiles deleted the dont-use-mach-vm branch January 22, 2025 21:51
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