Remove PathScanner::run_scan and use PathScanner::run_scan_internal directly
[ardour.git] / libs / pbd / pbd / semutils.h
index 0e8bed0512678c20026efd95be668e2f44cc0c3f..5c0191e25bfea4cb291d838117200d43d98b4ab3 100644 (file)
 #ifndef __pbd_semutils_h__
 #define __pbd_semutils_h__
 
-#ifdef WIN32
+#ifdef PLATFORM_WINDOWS
 #include <windows.h>
 #else
 #include <semaphore.h>
 #endif
 
+#include "pbd/libpbd_visibility.h"
+
 namespace PBD {
 
-class ProcessSemaphore {
+class LIBPBD_API ProcessSemaphore {
   private:
-#ifdef WIN32
+#ifdef PLATFORM_WINDOWS
        HANDLE _sem;
 
 #elif __APPLE__
@@ -44,7 +46,7 @@ class ProcessSemaphore {
        ProcessSemaphore (const char* name, int val);
        ~ProcessSemaphore ();
 
-#ifdef WIN32
+#ifdef PLATFORM_WINDOWS
 
        int signal ();
        int wait ();