Free Electron
define.h
Go to the documentation of this file.
1 /* Copyright (C) 2003-2021 Free Electron Organization
2  Any use of this software requires a license. If a valid license
3  was not distributed with this file, visit freeelectron.org. */
4 
5 /** @file */
6 
7 #ifndef __platform_define_h__
8 #define __platform_define_h__
9 
10 #ifndef FALSE
11 #define FALSE 0
12 #endif
13 #ifndef TRUE
14 #define TRUE 1
15 #endif
16 
17 //* FE_CODEGEN
18 #define FE_VALIDATE 1
19 #define FE_DEBUG 2
20 #define FE_PROFILE 3
21 #define FE_OPTIMIZE 4
22 #define FE_PURIFY 5
23 
24 //* FE_OS
25 #define FE_LINUX 1
26 #define FE_WIN32 2
27 #define FE_OSX 3
28 #define FE_CYGWIN 4
29 #define FE_WIN64 5
30 #define FE_FREEBSD 6
31 
32 //* FE_OSVER
33 /* use the primary version number */
34 
35 //* FE_COMPILER
36 #define FE_MICROSOFT 1
37 #define FE_ANSI 2
38 #define FE_GNU 3
39 #define FE_KR 4
40 #define FE_INTEL 5
41 #define FE_DMC 6
42 
43 //* FE_HW
44 #define FE_X86 1
45 #define FE_PPC 2
46 #define FE_68K 3
47 #define FE_AXP 4
48 #define FE_MIPS 5
49 #define FE_SPARC 6
50 #define FE_HPPA 7
51 
52 //* FE_ENDIAN
53 #define FE_BIG 1
54 #define FE_LITTLE 2
55 
56 //* FE_WL
57 #define FE_WL_WIN32 1
58 #define FE_WL_XWIN 2
59 
60 //* FE_2DGL
61 #define FE_2D_OPENGL 1
62 #define FE_2D_DIRECTX 2
63 #define FE_2D_GDI 3
64 #define FE_2D_X_GFX 4
65 #define FE_2D_OSX 5
66 
67 //* FE_3DGL
68 #define FE_3D_OPENGL 1
69 #define FE_3D_DIRECT3D 2
70 
71 #if FE_HW==FE_X86 || FE_HW==FE_AXP
72 #define FE_ENDIAN FE_LITTLE
73 #else
74 #define FE_ENDIAN FE_BIG
75 #endif
76 
77 //* FE_RE
78 //#define FE_RE_BOOST 1
79 //#define FE_RE_PCRE 2
80 
81 #endif /* __platform_define_h__ */
82