File: allegro.h

package info (click to toggle)
audacity 3.2.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 106,704 kB
  • sloc: cpp: 277,038; ansic: 73,623; lisp: 7,761; python: 3,305; sh: 2,715; perl: 821; xml: 275; makefile: 119
file content (22 lines) | stat: -rw-r--r-- 539 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// -*- 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)

#pragma warning( push )
#pragma warning( disable : 4100)
#include <portSMF/allegro.h>
#pragma warning( pop )

#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