Debian Codegraph @

podofo/3rdparty/adobe/afdko/include/supportenvironment.h

raw
1 #ifndef ENVIRONMENT_H
2 #define ENVIRONMENT_H
3
4 /*
5 * NOTE: This is a custom shim to workaround the original supportenvironment.h
6 * which is seriously flawed. See https://github.com/podofo/podofo/pull/259#issuecomment-2910248942
7 */
8
9 #define os_ps 1
10 #define os_bsd 2
11 #define os_sysv 4
12 #define os_aux 5
13 #define os_xenix 6
14 #define os_vms 7
15 #define os_domain 9
16 #define os_mpw 10
17 #define os_vm370 11
18 #define os_mvs370 12
19 #define os_os2 13
20 #define os_ultrix 14
21 #define os_aix 15
22 #define os_pharlap 16
23 #define os_mach 17
24 #define os_msdos 18
25 #define os_thinkc 19
26 #define os_windows3 20
27 #define os_os2_32bit 21
28 #define os_macgcc 22
29 #define os_ncd 23
30 #define os_irix 25
31 #define os_hpux 26
32 #define os_irixV 27
33 #define os_osf1 28
34 #define os_windowsNT 29
35 #define os_win32 29
36 #define os_windows95 30
37 #define os_win64 31
38
39 #define os_osx 98
40 #define os_linux 99
41
42 #define os_mac os_thinkc
43
44 #if defined(_WIN32) && !defined(_WIN64)
45 #define OS os_win32
46 #elif defined(_WIN32) && defined(_WIN64)
47 #define OS os_win64
48 #elif defined(__APPLE__)
49 #define OS os_osx
50 #elif defined(__linux__)
51 #define OS os_linux
52 #else
53 #define OS os_unknown
54 #endif
55
56 #if INTPTR_MAX == INT64_MAX
57 #define ARCH_64BIT 1
58 #else
59 #define ARCH_64BIT 0
60 #endif
61
62 #define ANSI_C 1
63
64 #ifndef DEVELOP
65 #define DEVELOP 1
66 #endif
67 #ifndef EXPORT
68 #define EXPORT 2
69 #endif
70 #define STAGE EXPORT
71
72 #ifndef mips
73 #define volatile
74 #endif
75
76 #define IEEEFLOAT 1
77 #define IEEESOFT 0
78
79 #endif /* ENVIRONMENT_H */