# include <mach/mach.h>
#elif defined(PLATFORM_WINDOWS)
# include <windows.h>
+#ifndef INFINITE
+#define INFINITE 0xffffffffL
+#endif
#else
# include <semaphore.h>
# include <errno.h>
#endif
+#include "pbd/libpbd_visibility.h"
#include "pbd/failed_constructor.h"
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:
/**