* better fix for detecting Comp's type

git-svn-id: trunk@36879 -
This commit is contained in:
svenbarth 2017-08-12 09:00:06 +00:00
parent ff927eb11a
commit 677c35c083

View File

@ -91,7 +91,7 @@ begin
specialize TestTypeKind<Double>(tkFloat); specialize TestTypeKind<Double>(tkFloat);
specialize TestTypeKind<Extended>(tkFloat); specialize TestTypeKind<Extended>(tkFloat);
specialize TestTypeKind<Currency>(tkFloat); specialize TestTypeKind<Currency>(tkFloat);
{$if not (defined(CPUI386) or defined(CPUX86_64)) or (defined(WIN64) and sizeof(Extended) = sizeof(Double))} {$ifdef FPC_COMP_IS_INT64}
specialize TestTypeKind<Comp>(tkInt64); specialize TestTypeKind<Comp>(tkInt64);
{$else} {$else}
specialize TestTypeKind<Comp>(tkFloat); specialize TestTypeKind<Comp>(tkFloat);