try just removing all PLATFORM_WINDOWS conditionals in ipmidi code to see if it will...
[ardour.git] / libs / pbd / pbd / selectable.h
index 85f3e79ab004c06d0b76da6ea871fc101bafa796..ac8f72aa0de36a5bf24ac0495f4752ff7984bc0b 100644 (file)
 
 #include <sys/types.h>
 
+#include "pbd/libpbd_visibility.h"
+
 namespace Select {
-    enum Condition {
+    enum LIBPBD_API Condition {
                Readable = 0x1,
                Writable = 0x2,
                Exception = 0x4
     };
 
-class Selectable : public sigc::trackable
+class LIBPBD_API Selectable : public sigc::trackable
 
 {
   public:
@@ -64,13 +66,13 @@ class Selectable : public sigc::trackable
                fromPath,
                fromFILE
        };
-               
+
        bool _ok;
        int _type;
        std::string path;
 };
 
-class Selector {
+class LIBPBD_API Selector {
   private:
        int post_select (fd_set *, fd_set *, fd_set *);
        int _max_fd;
@@ -87,7 +89,7 @@ class Selector {
        void multithreaded (bool yn) {
                use_list_lock = yn;
        }
-       
+
        void add (int condition, Selectable *s);
        void remove (Selectable *);
        int select (unsigned long usecs);