Browse Source

* fixed compile with 1.0.x

peter 21 years ago
parent
commit
4917058b59
1 changed files with 8 additions and 1 deletions
  1. 8 1
      rtl/inc/generic.inc

+ 8 - 1
rtl/inc/generic.inc

@@ -1161,7 +1161,11 @@ var
      negative := false;
      negative := false;
      s:='';
      s:='';
      { Workaround: }
      { Workaround: }
+{$ifdef ver1_0}
+     if (l shr 32=$80000000) and ((l and $ffffffff)=0) then
+{$else}
      if l=int64($8000000000000000) then
      if l=int64($8000000000000000) then
+{$endif}     
        begin
        begin
          s:='-9223372036854775808';
          s:='-9223372036854775808';
          exit;
          exit;
@@ -1221,7 +1225,10 @@ end;
 
 
 {
 {
   $Log$
   $Log$
-  Revision 1.76  2004-05-01 23:55:18  peter
+  Revision 1.77  2004-05-02 00:31:03  peter
+    * fixed compile with 1.0.x
+
+  Revision 1.76  2004/05/01 23:55:18  peter
     * replace strlenint with sizeint
     * replace strlenint with sizeint
 
 
   Revision 1.75  2004/05/01 20:52:50  peter
   Revision 1.75  2004/05/01 20:52:50  peter