Audacity 3.2.0
WrapAllegro.h
Go to the documentation of this file.
1// -*- mode: c++ -*-
2// Indirectly include Allegro header so that we can disable warnings about unused parameters
3// when compiling Audacity itself.
4
5#ifdef _MSC_VER
6// If this is compiled with MSVC (Visual Studio)
7
8#pragma warning( push )
9#pragma warning( disable : 4100)
10#include "allegro.h"
11#pragma warning( pop )
12
13#elif defined(__linux__)
14
15#include <cstring> // Allegro include fails if this header isn't included due to no memcpy
16#include "allegro.h"
17
18#else //_MSC_VER
19
20#include "allegro.h"
21
22#endif //_MSC_VER