unify build-script variable names
[ardour.git] / gtk2_ardour / audio_region_editor.h
index 2552dfd16503ed7512ad6899ab6a975d154158e1..dd726bdd5429dcb90093f25572b65b9729599175 100644 (file)
@@ -36,8 +36,8 @@
 
 
 #include "pbd/signals.h"
-#ifdef WIN32
-#include "pbd/glib_semaphore.h"
+#ifdef PLATFORM_WINDOWS
+#include "pbd/semutils.h"
 #else
 #include "pbd/crossthread.h"
 #endif
@@ -83,8 +83,8 @@ class AudioRegionEditor : public RegionEditor
        void peak_amplitude_found (double);
        PBD::Signal1<void, double> PeakAmplitudeFound;
        PBD::ScopedConnection _peak_amplitude_connection;
-#ifdef WIN32
-       PBD::GlibSemaphore m_peak_sem;
+#ifdef PLATFORM_WINDOWS
+       PBD::Semaphore m_peak_sem;
 #else
        CrossThreadChannel _peak_channel;
 #endif