X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Faudio_region_editor.h;h=3fdecc18379e71cd8ed5d8fdc6cd7dd6e799531f;hb=658bb3ccd43658de18fbd43cd91a8e66650e27a7;hp=0d9292b483d84e16ebb30823a2e9c2377355d302;hpb=d63e8ba0e8eeda4f53684bbd20f027c0cd6f7c89;p=ardour.git diff --git a/gtk2_ardour/audio_region_editor.h b/gtk2_ardour/audio_region_editor.h index 0d9292b483..3fdecc1837 100644 --- a/gtk2_ardour/audio_region_editor.h +++ b/gtk2_ardour/audio_region_editor.h @@ -34,10 +34,9 @@ #include #include -#include #include "pbd/signals.h" -#ifdef WIN32 +#ifdef PLATFORM_WINDOWS #include "pbd/glib_semaphore.h" #else #include "pbd/crossthread.h" @@ -84,7 +83,7 @@ class AudioRegionEditor : public RegionEditor void peak_amplitude_found (double); PBD::Signal1 PeakAmplitudeFound; PBD::ScopedConnection _peak_amplitude_connection; -#ifdef WIN32 +#ifdef PLATFORM_WINDOWS PBD::GlibSemaphore m_peak_sem; #else CrossThreadChannel _peak_channel;