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

iOS and macOS: Use consistent capitalisation with @available syntax

This commit is contained in:
Anthony Nicholls 2025-07-17 11:35:52 +01:00 committed by Anthony Nicholls
parent e68627c9ed
commit d0aa6d0486
8 changed files with 23 additions and 23 deletions

View file

@ -68,13 +68,13 @@ public:
private:
static void detach (os_workgroup_t wg, os_workgroup_join_token_s token)
{
if (@available (macos 11.0, ios 14.0, *))
if (@available (macOS 11.0, iOS 14.0, *))
os_workgroup_leave (wg, &token);
}
static bool attach (os_workgroup_t wg, os_workgroup_join_token_s& tokenOut)
{
if (@available (macos 11.0, ios 14.0, *))
if (@available (macOS 11.0, iOS 14.0, *))
{
if (wg != nullptr && os_workgroup_join (wg, &tokenOut) == 0)
return true;
@ -220,7 +220,7 @@ size_t AudioWorkgroup::getMaxParallelThreadCount() const
{
#if JUCE_AUDIOWORKGROUP_TYPES_AVAILABLE
if (@available (macos 11.0, ios 14.0, *))
if (@available (macOS 11.0, iOS 14.0, *))
{
if (auto wg = WorkgroupProvider::getWorkgroup (*this))
return (size_t) os_workgroup_max_parallel_threads (wg, nullptr);