File: Systems.h

package info (click to toggle)
rosegarden 2.1-3
  • links: PTS
  • area: main
  • in suites: slink
  • size: 3,652 kB
  • ctags: 4,273
  • sloc: ansic: 42,081; makefile: 4,042; sh: 1,711; tcl: 320
file content (70 lines) | stat: -rw-r--r-- 1,096 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70

#ifndef _MIDI_SYSTEMS_H_
#define _MIDI_SYSTEMS_H_

#ifdef SYSTEM_LINUX
#error The SYSTEM_LINUX symbol is no longer supported; use SYSTEM_OSS instead.
#endif

#ifdef SYSTEM_FREEBSD
#error The SYSTEM_FREEBSD symbol is no longer supported; use SYSTEM_OSS instead.
#endif


/* The rest are for Makefile back-compatibility */

#ifdef SEQUENCE_SGI
#define SYSTEM_SGI
#endif

#ifdef RECORD_SGI
#define SYSTEM_SGI
#endif

#ifdef SEQUENCE_ZILOG
#define SYSTEM_ZILOG
#endif

#ifdef RECORD_ZILOG
#define SYSTEM_ZILOG
#endif

#ifdef SEQUENCE_OSS
#define SYSTEM_OSS
#endif

#ifdef RECORD_OSS
#define SYSTEM_OSS
#endif

#ifdef SYSTEM_SGI
#ifdef SYSTEM_OSS
#error Too many SYSTEM defines -- SGI and OSS or FREEBSD
#endif
#ifdef SYSTEM_ZILOG
#error Too many SYSTEM defines -- SGI and ZILOG
#endif
#endif

#ifdef SYSTEM_OSS
#ifdef SYSTEM_ZILOG
#error Too many SYSTEM defines -- OSS or FREEBSD and ZILOG
#endif
#endif


/* and finally, SYSTEM_SILENT */

#ifndef SYSTEM_OSS
#ifndef SYSTEM_ZILOG
#ifndef SYSTEM_SGI
#ifndef SYSTEM_SILENT
#define SYSTEM_SILENT
#endif
#endif
#endif
#endif


#endif /* _SYSTEMS_H_ */