Explorar o código

* fixed for cpu's where real = extended (= double)

git-svn-id: trunk@1581 -
Jonas Maebe %!s(int64=20) %!d(string=hai) anos
pai
achega
fa8119280b
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      tests/webtbs/tw2481.pp

+ 3 - 0
tests/webtbs/tw2481.pp

@@ -21,11 +21,14 @@ Var
     B.A := V;
   End;
 
+{$ifdef FPC_HAS_TYPE_EXTENDED}
+{ otherwise extended = real = double }
   Operator := (V : Extended) B : TMoo;
   Begin
     B:=TMoo.Create;
     B.A := V;
   End;
+{$endif FPC_HAS_TYPE_EXTENDED}
 
 Constructor TMoo.Init;
 Begin