fix pthread-windows semaphore detection
[ardour.git] / libs / pbd / pbd / semaphore.h
index caa5eb68c29e983415a0ab43656209db87b2a9b2..265a219e079b1e061167d924468a5f97ebda1914 100644 (file)
@@ -32,6 +32,7 @@
 #    include <errno.h>
 #endif
 
+#include "pbd/libpbd_visibility.h"
 #include "pbd/failed_constructor.h"
 
 namespace PBD {
@@ -48,7 +49,7 @@ namespace PBD {
    only safe way to reliably signal from a real-time audio thread.  The
    counting semantics also complement ringbuffers of events nicely.
 */
-class Semaphore
+class /*LIBPBD_API*/ Semaphore
 {
 public:
        /**