summaryrefslogtreecommitdiff
path: root/gtk2_ardour/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/main.cc')
-rw-r--r--gtk2_ardour/main.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk2_ardour/main.cc b/gtk2_ardour/main.cc
index bb9fabb6bb..4b9136626a 100644
--- a/gtk2_ardour/main.cc
+++ b/gtk2_ardour/main.cc
@@ -139,8 +139,9 @@ sigpipe_handler (int /*signal*/)
}
#ifdef WINDOWS_VST_SUPPORT
-
+#ifndef PLATFORM_WINDOWS
extern int windows_vst_gui_init (int* argc, char** argv[]);
+#endif
/* this is called from the entry point of a wine-compiled
executable that is linked against gtk2_ardour built
@@ -165,11 +166,13 @@ int main (int argc, char *argv[])
#endif
#ifdef WINDOWS_VST_SUPPORT
+#ifndef PLATFORM_WINDOWS
/* this does some magic that is needed to make GTK and Wine's own
X11 client interact properly.
*/
windows_vst_gui_init (&argc, &argv);
#endif
+#endif
#ifdef ENABLE_NLS
cerr << "bnd txt domain [" << PACKAGE << "] to " << localedir << endl;