-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathVer.inc
137 lines (117 loc) · 3.56 KB
/
Ver.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
{*****************************************************************************
Delphi Encryption Compendium (DEC Part I)
Version 5.2, Part I, for Delphi 7 - 10.2 Tokyo or higher/FPC 2.6 or higher
Remarks: Freeware, Copyright must be included
Original Author: (c) 2006 Hagen Reddmann, HaReddmann [at] T-Online [dot] de
Modifications: (c) 2008 Arvid Winkelsdorf, info [at] digivendo [dot] de
Last change: 19. November 2017
* THIS SOFTWARE IS PROVIDED BY THE AUTHORS ''AS IS'' AND ANY EXPRESS
* OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*****************************************************************************}
{.$A+,B-,E-,F-,G+,H+,I-,J+,K-,N+,P+,Q-,R-,S-,T-,V+,W-,X+,Y-,G+}
{$IFDEF CPU386} // must have a 486 or higher though, 386 itself is not supported by DEC!
{$DEFINE UseASM86} // use Assembler optimated core
{$ENDIF}
{$IFDEF VER80} { Delphi 1.0 }
{$DEFINE VER_D1}
{$DEFINE VER_D1H}
{$ENDIF}
{$IFDEF VER90} { Delphi 2.0 }
{$DEFINE VER_D2}
{$DEFINE VER_D2H}
{$DEFINE VER_D1H}
{$ENDIF}
{$IFDEF VER100} {Borland Delphi 3.0 }
{$DEFINE VER_D3}
{$DEFINE VER_D3H}
{$DEFINE VER_D2H}
{$DEFINE VER_D1H}
{$ENDIF}
{$IFDEF VER120} {Borland Delphi 4.0 }
{$DEFINE VER_D4}
{$DEFINE VER_D4H}
{$DEFINE VER_D3H}
{$DEFINE VER_D2H}
{$DEFINE VER_D1H}
{$ENDIF}
{$IFDEF VER130} {Borland Delphi 5.0 }
{$DEFINE VER_D5}
{$DEFINE VER_D5H}
{$DEFINE VER_D4H}
{$DEFINE VER_D3H}
{$DEFINE VER_D2H}
{$DEFINE VER_D1H}
{$ENDIF}
{$IFDEF VER140} {Borland Delphi 6.0 }
{$DEFINE VER_D6}
{$DEFINE VER_D6H}
{$DEFINE VER_D5H}
{$DEFINE VER_D4H}
{$DEFINE VER_D3H}
{$DEFINE VER_D2H}
{$DEFINE VER_D1H}
{$ENDIF}
{$IFDEF VER150} {Borland Delphi 7.0 }
{$DEFINE VER_D7}
{$DEFINE VER_D7H}
{$DEFINE VER_D6H}
{$DEFINE VER_D5H}
{$DEFINE VER_D4H}
{$DEFINE VER_D3H}
{$DEFINE VER_D2H}
{$DEFINE VER_D1H}
{$ENDIF}
{$IFDEF VER93} { Borland C++Builder 1.0 }
{$DEFINE VER_BCB1}
{$DEFINE VER_BCB1H}
{$ENDIF}
{$IFDEF VER110} { Borland C++Builder 3.0 }
{$DEFINE VER_BCB3}
{$DEFINE VER_BCB3H}
{$DEFINE VER_BCB1H}
{$ENDIF}
{$IFDEF VER125}
{$DEFINE VER_BCB4}
{$DEFINE VER_BCB4H}
{$DEFINE VER_BCB3H}
{$DEFINE VER_BCB1H}
{$ENDIF}
{$IFNDEF VER80} { Delphi 1.0 }
{$IFNDEF VER90} { Delphi 2.0 }
{$IFNDEF VER93} { C++Builder 1.0 }
{$DEFINE VER_D3H} { Delphi 3.0 or higher }
{$IFNDEF VER100}
{$DEFINE VER_BCB3H} { C++Builder 3.0 or higher }
{$IFNDEF VER110}
{$DEFINE VER_D4H} { Delphi 4.0 or higher }
{$IFNDEF VER120}
{$DEFINE VER_D5H}
{$IFNDEF VER130}
{$DEFINE VER_D6H}
{$IFNDEF VER140}
{$DEFINE VER_D7H}
{$ENDIF}
{$ENDIF}
{$ENDIF}
{$ENDIF}
{$ENDIF}
{$ENDIF}
{$ENDIF}
{$ENDIF}
{$IFDEF VER_D7H}
{$A4}
{$IFNDEF FPC}
{$WARN UNSAFE_TYPE OFF}
{$WARN UNSAFE_CODE OFF}
{$WARN UNSAFE_CAST OFF}
{$ENDIF}
{$ENDIF}