audacia/lib-src/header-substitutes/allegro.h

23 lines
548 B
C
Raw Permalink Normal View History

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.
#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"
#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"
#else //_MSC_VER
#include "../portsmf/allegro.h"
#endif //_MSC_VER