1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 16:10:06 +02:00

Fix warning about redefinition of a macro

This commit is contained in:
Paul Licameli 2018-11-12 23:40:31 -05:00
parent 6d679a65e6
commit 7c25e555ac

View File

@ -77,6 +77,12 @@ void GetMP3ImportPlugin(ImportPluginList &importPluginList,
#include <wx/timer.h>
#include <wx/intl.h>
#include "../WaveTrack.h"
// PRL: include these last,
// and correct some preprocessor namespace pollution from wxWidgets that
// caused a warning about duplicate definition
#undef SIZEOF_LONG
extern "C" {
#include "mad.h"
@ -85,8 +91,6 @@ extern "C" {
#endif
}
#include "../WaveTrack.h"
#define INPUT_BUFFER_SIZE 65535
#define PROGRESS_SCALING_FACTOR 100000