summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/PatchageEvent.hpp2
-rw-r--r--src/PortID.hpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/PatchageEvent.hpp b/src/PatchageEvent.hpp
index 92ad7a2..2971651 100644
--- a/src/PatchageEvent.hpp
+++ b/src/PatchageEvent.hpp
@@ -19,7 +19,7 @@
#define PATCHAGE_PATCHAGEEVENT_HPP
#include <cstring>
-#ifdef HAVE_JACK
+#ifdef USE_LIBJACK
#include <jack/jack.h>
#endif
#include "config.h"
diff --git a/src/PortID.hpp b/src/PortID.hpp
index dc32ec6..022dc82 100644
--- a/src/PortID.hpp
+++ b/src/PortID.hpp
@@ -21,7 +21,7 @@
#include "config.h"
#include <cstring>
-#ifdef HAVE_JACK
+#ifdef USE_LIBJACK
#include <jack/jack.h>
#endif
#ifdef HAVE_ALSA
@@ -35,7 +35,7 @@ struct PortID {
enum { NULL_PORT_ID, JACK_ID, ALSA_ADDR } type;
-#ifdef HAVE_JACK
+#ifdef USE_LIBJACK
PortID(jack_port_id_t jack_id, bool ign=false)
: type(JACK_ID) { id.jack_id = jack_id; }
#endif
@@ -48,7 +48,7 @@ struct PortID {
#endif
union {
-#ifdef HAVE_JACK
+#ifdef USE_LIBJACK
jack_port_id_t jack_id;
#endif
#ifdef HAVE_ALSA