From 97639c46207ac0e82bd89bb4c8f0363c417798a6 Mon Sep 17 00:00:00 2001 From: "lllucius@gmail.com" Date: Sun, 19 Oct 2014 02:46:44 +0000 Subject: [PATCH] Get rid of build OSX build errors: /Users/yam/tl/audacity/mac/../src/TrackPanel.cpp:1746: error: '' is/uses anonymous type /Users/yam/tl/audacity/mac/../src/TrackPanel.cpp:1746: error: trying to instantiate 'template bool within(A, B, DIST)' --- src/TrackPanel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TrackPanel.cpp b/src/TrackPanel.cpp index 7d710cc35..ebd78465e 100644 --- a/src/TrackPanel.cpp +++ b/src/TrackPanel.cpp @@ -1606,7 +1606,7 @@ void TrackPanel::SetCursorAndTipWhenInLabelTrack( LabelTrack * pLT, #ifdef EXPERIMENTAL_SPECTRAL_EDITING // Seems 4 is too small to work at the top. Why? -enum { FREQ_SNAP_DISTANCE = 10 }; +#define FREQ_SNAP_DISTANCE 10 #endif // The select tool can have different cursors and prompts depending on what