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:
@@ -236,13 +236,6 @@ void TrackArt::DrawNegativeOffsetTrackArrows(
|
||||
}
|
||||
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define CONST
|
||||
#else
|
||||
#define CONST const
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef USE_MIDI
|
||||
#endif // USE_MIDI
|
||||
|
||||
|
||||
Reference in New Issue
Block a user