mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Windows: Always define RunningInUnity flag in juce_gui_basics TU
This commit is contained in:
parent
9dfaab24e0
commit
4fbc4da29a
5 changed files with 40 additions and 17 deletions
|
|
@ -30,13 +30,6 @@
|
|||
namespace juce::detail
|
||||
{
|
||||
|
||||
bool isRunningInUnity();
|
||||
#if JucePlugin_Build_Unity
|
||||
bool isRunningInUnity() { return PluginHostType::getPluginLoadedAs() == AudioProcessor::wrapperType_Unity; }
|
||||
#else
|
||||
bool isRunningInUnity() { return false; }
|
||||
#endif
|
||||
|
||||
struct PluginUtilities
|
||||
{
|
||||
PluginUtilities() = delete;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue