summaryrefslogtreecommitdiff
path: root/lowlevelunit.pas
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-12-05 09:26:01 +0100
committerErich Eckner <git@eckner.net>2017-12-05 09:26:01 +0100
commit879ca98a38e585b48b6ba76d55b918e4b3768171 (patch)
treed41a02f7da7a0153dbb086d217ecb7428500a63d /lowlevelunit.pas
parentdeafba6cdc276a351c5e0cd11d5d1e640dc98510 (diff)
downloadunits-879ca98a38e585b48b6ba76d55b918e4b3768171.tar.xz
lowlevelunit.pas: longestOrdinal new
Diffstat (limited to 'lowlevelunit.pas')
-rw-r--r--lowlevelunit.pas8
1 files changed, 8 insertions, 0 deletions
diff --git a/lowlevelunit.pas b/lowlevelunit.pas
index a871145..c8b4da9 100644
--- a/lowlevelunit.pas
+++ b/lowlevelunit.pas
@@ -7,6 +7,14 @@ interface
uses
math, Classes, SysUtils, RegExpr, process, FPimage, Graphics;
+{$IFDEF CPU64}
+type
+ longestOrdinal = int64;
+{$ELSE}
+type
+ longestOrdinal = longint;
+{$ENDIF}
+
type
generic tArray<t> = array of t;
tInt64Array = specialize tArray<int64>;