1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-03 15:43:50 +01:00

[WIN32] Fix CONST redefinition error (#510)

On Windows, the CONST macro is already defined by system include files.
MSVC tolerates that, but this is fatal for GCC.
The CONST macro is unused in this source anyways, so it would be worth to remove it.
This commit is contained in:
Carlo Bramini
2020-05-25 08:18:42 +02:00
committed by GitHub
parent a5d765c9c5
commit 5580ff9d2e

View File

@@ -236,13 +236,6 @@ void TrackArt::DrawNegativeOffsetTrackArrows(
}
#ifdef __GNUC__
#define CONST
#else
#define CONST const
#endif
#ifdef USE_MIDI
#endif // USE_MIDI