Fix build without liblo
This commit is contained in:
parent
f78879f3e2
commit
5bc42b2d1f
1 changed files with 4 additions and 0 deletions
|
|
@ -463,6 +463,7 @@ namespace patchUtils {
|
||||||
|
|
||||||
|
|
||||||
bool connectToRemote() {
|
bool connectToRemote() {
|
||||||
|
#ifdef HAVE_LIBLO
|
||||||
rack::app::Scene::Internal* const internal = APP->scene->internal;
|
rack::app::Scene::Internal* const internal = APP->scene->internal;
|
||||||
|
|
||||||
if (internal->oscServer == nullptr) {
|
if (internal->oscServer == nullptr) {
|
||||||
|
|
@ -478,6 +479,9 @@ bool connectToRemote() {
|
||||||
lo_address_free(addr);
|
lo_address_free(addr);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
#else
|
||||||
|
return false;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue