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:
parent
e68627c9ed
commit
d0aa6d0486
8 changed files with 23 additions and 23 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue