diff --git a/modules/juce_core/system/juce_TargetPlatform.h b/modules/juce_core/system/juce_TargetPlatform.h index ee433d3387..7850b4c6e9 100644 --- a/modules/juce_core/system/juce_TargetPlatform.h +++ b/modules/juce_core/system/juce_TargetPlatform.h @@ -128,7 +128,7 @@ // Expands to true if the API of the specified version is available at build time, false otherwise #define JUCE_MAC_API_VERSION_CAN_BE_BUILT(major, minor) \ - ((major) * 10000 + (minor) * 100 <= MAC_OS_X_VERSION_MAX_ALLOWED) + ((major) * 10000 + (minor) * 100 <= __MAC_OS_X_VERSION_MAX_ALLOWED) // Expands to true if the API of the specified version is available at build time, false otherwise #define JUCE_IOS_API_VERSION_CAN_BE_BUILT(major, minor) \ @@ -136,7 +136,7 @@ // Expands to true if the deployment target is greater or equal to the specified version, false otherwise #define JUCE_MAC_API_VERSION_MIN_REQUIRED_AT_LEAST(major, minor) \ - ((major) * 10000 + (minor) * 100 <= MAC_OS_X_VERSION_MIN_REQUIRED) + ((major) * 10000 + (minor) * 100 <= __MAC_OS_X_VERSION_MIN_REQUIRED) // Expands to true if the deployment target is greater or equal to the specified version, false otherwise #define JUCE_IOS_API_VERSION_MIN_REQUIRED_AT_LEAST(major, minor) \