From 004ea15bd77989535565f1d38f66d2caff645d3d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 11 Jul 2009 02:04:13 +0000 Subject: Fix building without liblo. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2169 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/ConnectWindow.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/gui') diff --git a/src/gui/ConnectWindow.cpp b/src/gui/ConnectWindow.cpp index deb97b35..6bd0108e 100644 --- a/src/gui/ConnectWindow.cpp +++ b/src/gui/ConnectWindow.cpp @@ -217,7 +217,7 @@ ConnectWindow::connect(bool existing) sigc::mem_fun(this, &ConnectWindow::gtk_callback), 40); } else if (_mode == LAUNCH_REMOTE) { - +#ifdef HAVE_LIBLO int port = _port_spinbutton->get_value_as_int(); char port_str[6]; snprintf(port_str, 6, "%u", port); @@ -240,6 +240,9 @@ ConnectWindow::connect(bool existing) } else { cerr << "Failed to launch ingen process." << endl; } +#else + cerr << "No OSC support" << endl; +#endif } else #endif // defined(HAVE_LIBLO) || defined(HAVE_SOUP) -- cgit v1.2.1