diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-04-10 08:52:21 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-04-10 08:52:21 -0400 |
commit | 0802cbf30cc576e68df90b793b74f8691a7a4311 (patch) | |
tree | 104c0be13fa5840bda4610b236037d12b98698f9 /libs/midi++2 | |
parent | 5f98ad218757643acadf0ffc743e33e62ea79e0f (diff) |
remove inclusion of jack.h so that we can build on a platform without JACK
Diffstat (limited to 'libs/midi++2')
-rw-r--r-- | libs/midi++2/midi++/port.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libs/midi++2/midi++/port.h b/libs/midi++2/midi++/port.h index 6e55134bb5..5a52cfe898 100644 --- a/libs/midi++2/midi++/port.h +++ b/libs/midi++2/midi++/port.h @@ -22,10 +22,6 @@ #include <string> #include <iostream> -#include <jack/types.h> /* XXX ... desirable to get rid of this but needed for - * now due to use of JackPortIsXXXX - */ - #include <pthread.h> #include "pbd/xml++.h" @@ -47,8 +43,8 @@ class PortRequest; class LIBMIDIPP_API Port { public: enum Flags { - IsInput = JackPortIsInput, - IsOutput = JackPortIsOutput, + IsInput = 0x1, /* MUST MATCH JACK's JackPortIsInput */ + IsOutput = 0x2, /* MUST MATCH JACK's JackPortIsOutput */ }; Port (std::string const &, Flags); |