2018-01-06 13:03:48 +00:00
|
|
|
// -*- mode: c++ -*-
|
|
|
|
// Indirectly include Allegro header so that we can disable warnings about unused parameters
|
|
|
|
// when compiling Audacity itself.
|
|
|
|
|
2018-02-15 12:31:50 +00:00
|
|
|
#ifdef _MSC_VER
|
|
|
|
// If this is compiled with MSVC (Visual Studio)
|
|
|
|
|
2018-01-06 13:03:48 +00:00
|
|
|
#pragma warning( push )
|
|
|
|
#pragma warning( disable : 4100)
|
|
|
|
#include "../portsmf/allegro.h"
|
2018-02-15 12:31:50 +00:00
|
|
|
#pragma warning( pop )
|
|
|
|
|
2020-06-14 04:12:24 +00:00
|
|
|
#elif defined(__linux__)
|
|
|
|
|
|
|
|
#include <cstring> // Allegro include fails if this header isn't included due to no memcpy
|
|
|
|
#include "../portsmf/allegro.h"
|
|
|
|
|
2018-02-15 12:31:50 +00:00
|
|
|
#else //_MSC_VER
|
|
|
|
|
|
|
|
#include "../portsmf/allegro.h"
|
|
|
|
|
|
|
|
#endif //_MSC_VER
|