1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Compatibility: Add new macros for straightforward checking of minimum deployment target

This also fixes a bug introduced in f7c7225f5c
where the condition guarding the definition of traitCollectionDidChange
was incorrect. This function is never required if the deployment target
is at least 17.0.
This commit is contained in:
reuk 2024-11-04 15:57:00 +00:00
parent 8e086c7f05
commit 93640b63ff
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C
7 changed files with 26 additions and 16 deletions

View file

@ -70,7 +70,7 @@
#import <IOKit/pwr_mgt/IOPMLib.h>
#import <MetalKit/MetalKit.h>
#if defined (MAC_OS_VERSION_14_4) && MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_VERSION_14_4
#if JUCE_MAC_API_VERSION_MIN_REQUIRED_AT_LEAST (14, 4)
#import <ScreenCaptureKit/ScreenCaptureKit.h>
#endif