summaryrefslogtreecommitdiff
path: root/gtk2_ardour/main.cc
diff options
context:
space:
mode:
authorunknown <Ben>2014-04-11 10:48:12 -0500
committerunknown <Ben>2014-04-11 14:23:29 -0500
commit6cc2812f2e86a8250ca29dd42846cb3f241cd2d3 (patch)
tree38cbf84e7b97e4a3b52b1b06b90b4bb2283cc733 /gtk2_ardour/main.cc
parentf67870037681867e36e8e97b991e731d35976089 (diff)
interim vst fixes
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;