From 4c41b9240003e88c7dae7ba10dcca5ccd5a911dc Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 8 Jan 2011 15:28:48 +0000 Subject: Fix configuration header define names to not stomp on global namespace. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2794 a436a847-0d15-0410-975c-d299462d15a1 --- src/PortID.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/PortID.hpp') diff --git a/src/PortID.hpp b/src/PortID.hpp index b1f8444..35f8b53 100644 --- a/src/PortID.hpp +++ b/src/PortID.hpp @@ -23,7 +23,7 @@ #include "patchage-config.h" -#ifdef USE_LIBJACK +#ifdef PATCHAGE_LIBJACK #include #endif #ifdef HAVE_ALSA @@ -40,7 +40,7 @@ struct PortID { enum { NULL_PORT_ID, JACK_ID, ALSA_ADDR } type; -#ifdef USE_LIBJACK +#ifdef PATCHAGE_LIBJACK PortID(jack_port_id_t jack_id, bool ign=false) : type(JACK_ID) { id.jack_id = jack_id; } #endif @@ -51,7 +51,7 @@ struct PortID { #endif union { -#ifdef USE_LIBJACK +#ifdef PATCHAGE_LIBJACK jack_port_id_t jack_id; #endif #ifdef HAVE_ALSA @@ -70,7 +70,7 @@ operator<<(std::ostream& os, const PortID& id) case PortID::NULL_PORT_ID: return os << "(null)"; case PortID::JACK_ID: -#ifdef USE_LIBJACK +#ifdef PATCHAGE_LIBJACK return os << "jack:" << id.id.jack_id; #endif break; @@ -94,7 +94,7 @@ operator<(const PortID& a, const PortID& b) case PortID::NULL_PORT_ID: return true; case PortID::JACK_ID: -#ifdef USE_LIBJACK +#ifdef PATCHAGE_LIBJACK return a.id.jack_id < b.id.jack_id; #endif break; -- cgit v1.2.1