Rewrite some preprocessor conditionals
This commit is contained in:
parent
15b198d186
commit
66826ef879
1 changed files with 2 additions and 2 deletions
|
|
@ -172,9 +172,9 @@ instantiate(const LV2UI_Descriptor *descriptor,
|
||||||
// name, and appending "Contents/Resources" (not overridable)
|
// name, and appending "Contents/Resources" (not overridable)
|
||||||
// * on Windows, the folder is set programmatically
|
// * on Windows, the folder is set programmatically
|
||||||
// * on macOS, resource files are looked up using CFBundle APIs
|
// * on macOS, resource files are looked up using CFBundle APIs
|
||||||
#if _WIN32
|
#if defined(_WIN32)
|
||||||
IWin32PlatformFrame::setResourceBasePath((std::string(bundle_path) + "\\Contents\\Resources\\").c_str());
|
IWin32PlatformFrame::setResourceBasePath((std::string(bundle_path) + "\\Contents\\Resources\\").c_str());
|
||||||
#elif __APPLE__
|
#elif defined(__APPLE__)
|
||||||
#pragma message("TODO: make resources work on macOS using bundles")
|
#pragma message("TODO: make resources work on macOS using bundles")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue