Disable unavailable features on older macOS
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | vmnet: disable unavailable features on older macOSnet/ net/ net/ | +66 | 0 replies | |
| 2/2 | hvf: arm: disable unavailable features on older macOStarget/ | +35 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] Disable unavailable features on older macOS
Some features require APIs introduced in a recent version of macOS. Currently, this is not checked anywhere and so either the build will fail (if building with an older version of Xcode) or will throw a warning and then crash if run on an older machine. The correct way to handle this is with availabilty checks. The checks are a clang extension that only works on Apple platforms but these files are only built for Apple platforms already and link with Apple frameworks.
Joelle van Dyne (2):
vmnet: disable unavailable features on older macOS
hvf: arm: disable unavailable features on older macOS
net/vmnet-host.c | 48 ++++++++++++++++++++++++++------------ net/vmnet-shared.c | 23 ++++++++++++++---- target/arm/hvf/hvf.c | 55 ++++++++++++++++++++++++++++---------------- net/vmnet-bridged.m | 18 ++++++++++++--- 4 files changed, 101 insertions(+), 43 deletions(-)
Signature · 1 line
2.41.0