fixed vst define
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#include "vsthost.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
// adapted from http://teragonaudio.com/article/How-to-make-your-own-VST-host.html
|
||||
|
||||
#include <QPushButton>
|
||||
@@ -264,3 +266,5 @@ void VSTHost::change_plugin() {
|
||||
}
|
||||
show_interface_btn->setEnabled(plugin != nullptr);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
#ifndef VSTHOSTWIN_H
|
||||
#define VSTHOSTWIN_H
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
#include "project/effect.h"
|
||||
|
||||
#include "io/crossplatformlib.h"
|
||||
@@ -47,4 +49,6 @@ private:
|
||||
ModulePtr modulePtr;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
#endif // VSTHOSTWIN_H
|
||||
|
||||
Reference in New Issue
Block a user