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

Xcode: Fix ambiguous symbol errors in VST3 wrapper

The missing CoreFoundation include was causing issues when building
VST3 plugin-hosts.
This commit is contained in:
reuk 2020-06-02 18:14:37 +01:00
parent b6b8809eec
commit b5dac7968f
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11

View file

@ -23,6 +23,10 @@
#if JucePlugin_Build_VST3 && (__APPLE_CPP__ || __APPLE_CC__ || _WIN32 || _WIN64 || LINUX || __linux__)
#if JUCE_PLUGINHOST_VST3 && (JUCE_MAC || JUCE_WINDOWS || JUCE_LINUX)
#if JUCE_MAC
#include <CoreFoundation/CoreFoundation.h>
#endif
#undef JUCE_VST3HEADERS_INCLUDE_HEADERS_ONLY
#define JUCE_VST3HEADERS_INCLUDE_HEADERS_ONLY 1
#endif