mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-05 03:50:07 +00:00
VST: Fixed a compilation error on iOS when hosting VSTs
This commit is contained in:
parent
60e13bec0c
commit
df132fd6df
1 changed files with 1 additions and 1 deletions
|
|
@ -3634,7 +3634,7 @@ FileSearchPath VSTPluginFormat::getDefaultLocationsToSearch()
|
|||
CFUniquePtr<CFURLRef> relativePluginDir (CFBundleCopyBuiltInPlugInsURL (CFBundleGetMainBundle()));
|
||||
CFUniquePtr<CFURLRef> pluginDir (CFURLCopyAbsoluteURL (relativePluginDir.get()));
|
||||
|
||||
CFStringRef path = CFURLCopyFileSystemPath (pluginDir.get(), kCFURLPOSIXPathStyle);
|
||||
CFUniquePtr<CFStringRef> path (CFURLCopyFileSystemPath (pluginDir.get(), kCFURLPOSIXPathStyle));
|
||||
FileSearchPath retval (String (CFStringGetCStringPtr (path.get(), kCFStringEncodingUTF8)));
|
||||
return retval;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue