Remove: macOS support before 10.7 #8078
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Updated and somewhat adapted from PR #8025, split a bit more into feature sets in case somebody has a need to revert a specific area. Target goal was 10.7 because that is the first version with any C++11 support, and almost nothing is gained by targeting 10.9.
Since the C++11 move, getting OpenTTD to compile and run for anything below 10.7 basically requires building a custom compiler and libc++. As such, this PR removes any special support for compiling with SDK versions before 10.7 and chucks most of the alternative, compatibility API support for video/sound/music/text.
The remaining implementations use whatever API level is still current, which is mostly something between 10.5 and 10.7. It should still be possible to compile OpenTTD targeting 10.7 with this PR.
I left some compatibility checks in that don't create any maintenance burdens or alternative code paths.