1
0
Fork 0
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:
reuk 2023-03-27 14:20:04 +01:00
parent 9dfaab24e0
commit 4fbc4da29a
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C
5 changed files with 40 additions and 17 deletions

View file

@ -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;