mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Xcode15: Allow older llvm versions when compiling with Xcode 15
This commit is contained in:
parent
1f90ecf6e3
commit
59d91cff1e
5 changed files with 18 additions and 5 deletions
|
|
@ -104,7 +104,9 @@ void registerDemos_Two() noexcept
|
|||
#if ! (JUCE_LINUX || JUCE_BSD)
|
||||
REGISTER_DEMO (VideoDemo, GUI, true)
|
||||
#endif
|
||||
#if JUCE_WEB_BROWSER
|
||||
REGISTER_DEMO (WebBrowserDemo, GUI, true)
|
||||
#endif
|
||||
REGISTER_DEMO (WidgetsDemo, GUI, false)
|
||||
REGISTER_DEMO (WindowsDemo, GUI, false)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -46,6 +46,8 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#if JUCE_WEB_BROWSER
|
||||
|
||||
#include "../Assets/DemoUtilities.h"
|
||||
|
||||
//==============================================================================
|
||||
|
|
@ -148,3 +150,5 @@ private:
|
|||
|
||||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (WebBrowserDemo)
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -101,7 +101,11 @@ public:
|
|||
|
||||
WorkgroupProvider clone() const
|
||||
{
|
||||
return WorkgroupProvider { handle != nullptr ? os_retain (handle.get()) : nullptr };
|
||||
if (handle == nullptr)
|
||||
return WorkgroupProvider { nullptr };
|
||||
|
||||
os_retain (handle.get());
|
||||
return WorkgroupProvider { handle.get() };
|
||||
}
|
||||
|
||||
void join (WorkgroupToken& token) const
|
||||
|
|
|
|||
|
|
@ -49,7 +49,6 @@
|
|||
|
||||
//==============================================================================
|
||||
#if JUCE_MAC
|
||||
#import <WebKit/WebKit.h>
|
||||
#import <IOKit/pwr_mgt/IOPMLib.h>
|
||||
#import <MetalKit/MetalKit.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -49,7 +49,9 @@
|
|||
|
||||
//==============================================================================
|
||||
#if JUCE_MAC
|
||||
#if JUCE_WEB_BROWSER
|
||||
#import <WebKit/WebKit.h>
|
||||
#endif
|
||||
#import <IOKit/IOKitLib.h>
|
||||
#import <IOKit/IOCFPlugIn.h>
|
||||
#import <IOKit/hid/IOHIDLib.h>
|
||||
|
|
@ -64,7 +66,9 @@
|
|||
|
||||
//==============================================================================
|
||||
#elif JUCE_IOS
|
||||
#if JUCE_WEB_BROWSER
|
||||
#import <WebKit/WebKit.h>
|
||||
#endif
|
||||
|
||||
#if JUCE_PUSH_NOTIFICATIONS
|
||||
#import <UserNotifications/UserNotifications.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue