-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSRDefine.inc
252 lines (213 loc) · 5.75 KB
/
SRDefine.inc
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
{ Include File für Simons Komponenten. Enthält Compiler-Direktiven für die
verschiedenen Delphi-Versionen und Zielplattformen
Include File for Simons components. Provides some compiler directives for
the different Delphi versions and target platforms
p.i.c.s.
http://www.picsoft.de
Simon Reinhardt
{ A brief explanation of the defines in this unit
SRDefines : Always defined when this unit is included
SR_Linux : Compilation target is Linux
SR_Windows : Compilation target is Windows
SR_Win16 : Compilation target is 16-bit Windows
SR_Win32 : Compilation target is 32-bit Windows
SR_Delphi : To be compiled with Delphi
SR_Delphi32 : To be compiled with 32-Bit-Delphi
SR_Delphi1 : To be compiled with Delphi 1.0
SR_Delphi2 : To be compiled with Delphi 2.0
SR_Delphi3 : To be compiled with Delphi 3.0
SR_Delphi4 : To be compiled with Delphi 4.0
SR_Delphi5 : To be compiled with Delphi 5.0
SR_Delphi6 : To be compiled with Delphi 6.0
SR_Delphi7 : To be compiled with Delphi 7.0
SR_Delphi8 : To be compiled with Delphi 7.0
SR_Delphi9 : To be compiled with Delphi 7.0
SR_Delphi2_Up : To be compiled with Delphi 2.0 or higher
SR_Delphi3_Up : To be compiled with Delphi 3.0 or higher
SR_Delphi4_Up : To be compiled with Delphi 4.0 or higher
SR_Delphi5_Up : To be compiled with Delphi 5.0 or higher
SR_Delphi6_Up : To be compiled with Delphi 6.0 or higher
SR_Delphi7_Up : To be compiled with Delphi 7.0 or higher
SR_Delphi8_Up : To be compiled with Delphi 8.0 or higher
SR_Delphi9_Up : To be compiled with Delphi 2005 or higher
SR_CBuilder : To be compiled with C++Builder
SR_CBuilder1 : To be compiled with C++Builder 1.0
SR_CBuilder2 : To be compiled with C++Builder 2.0
SR_CBuilder3 : To be compiled with C++Builder 3.0
SR_CBuilder4 : To be compiled with C++Builder 4.0
SR_CBuilder2_Up : To be compiled with C++Builder 2.0 or higher
SR_CBuilder3_Up : To be compiled with C++Builder 3.0 or higher
SR_CBuilder4_Up : To be compiled with C++Builder 4.0 or higher
SR_Kylix : To be compiled with Kylix }
{$B-}
{$DEFINE SRDefines}
{$IFDEF LCL}
{$DEFINE SR_LAZARUS}
{$DEFINE SR_Delphi2}
{$DEFINE SR_Delphi3}
{$DEFINE SR_Delphi4}
{$DEFINE SR_Delphi5}
{$DEFINE SR_Delphi6}
{$DEFINE SR_Delphi7}
{$MODE DELPHI}{$H+}
{$ENDIF}
{$IFDEF WINDOWS}
{$DEFINE SR_Win16}
{$DEFINE SR_Windows}
{$ENDIF}
{$IFDEF WIN32}
{$DEFINE SR_Win32}
{$DEFINE SR_Windows}
{$ENDIF}
{$IFDEF LINUX}
{$DEFINE SR_Linux}
{$ENDIF}
{$IFDEF VER170}
{$IFDEF SR_Linux}
{$DEFINE SR_Kylix}
{$ENDIF}
{$IFDEF SR_Windows}
{$DEFINE SR_Delphi9}
{$ENDIF}
{$ENDIF}
{$IFDEF VER160}
{$IFDEF SR_Linux}
{$DEFINE SR_Kylix}
{$ENDIF}
{$IFDEF SR_Windows}
{$DEFINE SR_Delphi8}
{$ENDIF}
{$ENDIF}
{$IFDEF VER150}
{$IFDEF SR_Linux}
{$DEFINE SR_Kylix}
{$ENDIF}
{$IFDEF SR_Windows}
{$DEFINE SR_Delphi7}
{$ENDIF}
{$ENDIF}
{$IFDEF VER140}
{$IFDEF SR_Linux}
{$DEFINE SR_Kylix}
{$ENDIF}
{$IFDEF SR_Windows}
{$DEFINE SR_Delphi6}
{$ENDIF}
{$ENDIF}
{$IFDEF VER135}
{$DEFINE SR_CBuilder5}
{$ENDIF}
{$IFDEF VER130}
{$DEFINE SR_Delphi5}
{$ENDIF}
{$IFDEF VER125}
{$DEFINE SR_CBuilder4}
{$ENDIF}
{$IFDEF VER120}
{$DEFINE SR_Delphi4}
{$ENDIF}
{$IFDEF VER110}
{$DEFINE SR_CBuilder3}
{$ENDIF}
{$IFDEF VER100}
{$DEFINE SR_Delphi3}
{$ENDIF}
{$IFDEF VER90}
{$DEFINE SR_Delphi2}
{$ENDIF}
{$IFDEF VER93}
{$DEFINE SR_CBuilder1}
{$ENDIF}
{$IFDEF VER80}
{$DEFINE SR_Delphi1}
{$ENDIF}
{$IFDEF SR_Delphi1}
{$DEFINE SR_Delphi}
{$ENDIF}
{$IFDEF SR_Delphi2}
{$DEFINE SR_Delphi}
{$DEFINE SR_Delphi32}
{$DEFINE SR_Delphi2_Up}
{$ENDIF}
{$IFDEF SR_Delphi3}
{$DEFINE SR_Delphi}
{$DEFINE SR_Delphi32}
{$DEFINE SR_Delphi2_Up}
{$DEFINE SR_Delphi3_Up}
{$ENDIF}
{$IFDEF SR_Delphi4}
{$DEFINE SR_Delphi}
{$DEFINE SR_Delphi32}
{$DEFINE SR_Delphi2_Up}
{$DEFINE SR_Delphi3_Up}
{$DEFINE SR_Delphi4_Up}
{$ENDIF}
{$IFDEF SR_Delphi5}
{$DEFINE SR_Delphi}
{$DEFINE SR_Delphi32}
{$DEFINE SR_Delphi2_Up}
{$DEFINE SR_Delphi3_Up}
{$DEFINE SR_Delphi4_Up}
{$DEFINE SR_Delphi5_Up}
{$ENDIF}
{$IFDEF SR_Delphi6}
{$DEFINE SR_Delphi}
{$DEFINE SR_Delphi32}
{$DEFINE SR_Delphi2_Up}
{$DEFINE SR_Delphi3_Up}
{$DEFINE SR_Delphi4_Up}
{$DEFINE SR_Delphi5_Up}
{$DEFINE SR_Delphi6_Up}
{$ENDIF}
{$IFDEF SR_Delphi7}
{$DEFINE SR_Delphi}
{$DEFINE SR_Delphi32}
{$DEFINE SR_Delphi2_Up}
{$DEFINE SR_Delphi3_Up}
{$DEFINE SR_Delphi4_Up}
{$DEFINE SR_Delphi5_Up}
{$DEFINE SR_Delphi6_Up}
{$DEFINE SR_Delphi7_Up}
{$ENDIF}
{$IFDEF SR_Delphi8}
{$DEFINE SR_Delphi}
{$DEFINE SR_Delphi32}
{$DEFINE SR_Delphi2_Up}
{$DEFINE SR_Delphi3_Up}
{$DEFINE SR_Delphi4_Up}
{$DEFINE SR_Delphi5_Up}
{$DEFINE SR_Delphi6_Up}
{$DEFINE SR_Delphi7_Up}
{$DEFINE SR_Delphi8_Up}
{$ENDIF}
{$IFDEF SR_Delphi9}
{$DEFINE SR_Delphi}
{$DEFINE SR_Delphi32}
{$DEFINE SR_Delphi2_Up}
{$DEFINE SR_Delphi3_Up}
{$DEFINE SR_Delphi4_Up}
{$DEFINE SR_Delphi5_Up}
{$DEFINE SR_Delphi6_Up}
{$DEFINE SR_Delphi7_Up}
{$DEFINE SR_Delphi8_Up}
{$DEFINE SR_Delphi9_Up}
{$ENDIF}
{$IFDEF SR_CBuilder1}
{$DEFINE SR_CBuilder}
{$ENDIF}
{$IFDEF SR_CBuilder2}
{$DEFINE SR_CBuilder}
{$DEFINE SR_CBuilder2_Up}
{$ENDIF}
{$IFDEF SR_CBuilder3}
{$DEFINE SR_CBuilder}
{$DEFINE SR_CBuilder2_Up}
{$DEFINE SR_CBuilder3_Up}
{$ENDIF}
{$IFDEF SR_CBuilder4}
{$DEFINE SR_CBuilder}
{$DEFINE SR_CBuilder2_Up}
{$DEFINE SR_CBuilder3_Up}
{$DEFINE SR_CBuilder4_Up}
{$ENDIF}