forked from mremec/omnixml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
OmniXML.inc
44 lines (33 loc) · 1.35 KB
/
OmniXML.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
{$IFDEF FPC}
{$DEFINE UNICODE}
{$ENDIF}
{$DEFINE OmniXML_SupportAnsiStrings}
{$IFDEF CONDITIONALEXPRESSIONS}
{$IF Declared(CompilerVersion) and (CompilerVersion >= 25.0)}
{$LEGACYIFEND ON}
{$DEFINE DELPHIXE4_UP}
{$IFEND}
{$IF Declared(CompilerVersion) and (CompilerVersion >= 24.0)} // Delphi XE3 or newer
{$DEFINE DELPHIXE3_UP}
{$DEFINE OmniXML_HasZeroBasedStrings}
{$IFEND} // Declared(CompilerVersion) and (CompilerVersion >= 24.0)
{$IF Declared(CompilerVersion) and (CompilerVersion >= 23.0)}
{$DEFINE DELPHIXE2_UP}
{$DEFINE OmniXML_Namespaces}
{$IFEND} // Declared(CompilerVersion) and (CompilerVersion >= 23.0)
{$IF Declared(CompilerVersion) and (CompilerVersion >= 20.0)} // Delphi 2009 or newer
{$DEFINE DELPHI2009_UP}
{$DEFINE OmniXML_Generics}
{$IFEND} // Declared(CompilerVersion) and (CompilerVersion >= 20.0)
{$IF Declared(CompilerVersion) and (CompilerVersion >= 14.0)} // Delphi 6 or newer
{$DEFINE HAS_UNIT_VARIANTS}
{$DEFINE DELPHI6_UP}
{$IFEND} // Declared(CompilerVersion) and (CompilerVersion >= 14.0)
{$IFDEF UNICODE} // Delphi with Unicode support
{$DEFINE OmniXML_Unicode}
{$ENDIF} // UNICODE
{$IFDEF NEXTGEN}
{$UNDEF OmniXML_SupportAnsiStrings}
{$ENDIF NEXTGEN}
{$ENDIF} // CONDITIONALEXPRESSIONS
{$I OmniXML_JEDI.inc}