summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-07-11 02:04:13 +0000
committerDavid Robillard <d@drobilla.net>2009-07-11 02:04:13 +0000
commit004ea15bd77989535565f1d38f66d2caff645d3d (patch)
treeb90cc89d5f7c83ee0b723ebe06d3df3951e43f6b /src
parentc51fadd11b00f7b55a6ab74578f7c6233b033f55 (diff)
downloadingen-004ea15bd77989535565f1d38f66d2caff645d3d.tar.gz
ingen-004ea15bd77989535565f1d38f66d2caff645d3d.tar.bz2
ingen-004ea15bd77989535565f1d38f66d2caff645d3d.zip
Fix building without liblo.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2169 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/gui/ConnectWindow.cpp5
1 files changed, 4 insertions, 1 deletions
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)