remove inclusion of jack.h so that we can build on a platform without JACK
[ardour.git] / libs / midi++2 / midi++ / port.h
index 17b660398fe096a50cc70b6a6ad152b2e6c23207..5a52cfe898fe97b1adc39be538bb173ee5e3c2a6 100644 (file)
 #include <string>
 #include <iostream>
 
-#include <jack/types.h>
+#include <pthread.h>
 
 #include "pbd/xml++.h"
+#ifndef PLATFORM_WINDOWS
 #include "pbd/crossthread.h"
+#endif
 #include "pbd/signals.h"
 #include "pbd/ringbuffer.h"
 
@@ -41,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);