X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Faudio_region_editor.h;h=3fdecc18379e71cd8ed5d8fdc6cd7dd6e799531f;hb=b754c4341e669729e29183abcd0857ec55eddb16;hp=2552dfd16503ed7512ad6899ab6a975d154158e1;hpb=17ad0a0b61a887362ce07b1f8b59de003ddd9233;p=ardour.git diff --git a/gtk2_ardour/audio_region_editor.h b/gtk2_ardour/audio_region_editor.h index 2552dfd165..3fdecc1837 100644 --- a/gtk2_ardour/audio_region_editor.h +++ b/gtk2_ardour/audio_region_editor.h @@ -36,7 +36,7 @@ #include "pbd/signals.h" -#ifdef WIN32 +#ifdef PLATFORM_WINDOWS #include "pbd/glib_semaphore.h" #else #include "pbd/crossthread.h" @@ -83,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;