浏览代码

* fixed errror on non win32 targets with 1.0.x when doing a make cycle

florian 23 年之前
父节点
当前提交
15429fdd2c
共有 1 个文件被更改,包括 10 次插入2 次删除
  1. 10 2
      rtl/objpas/types.pp

+ 10 - 2
rtl/objpas/types.pp

@@ -17,6 +17,7 @@ unit types;
 
 
   interface
   interface
 
 
+{$ifndef ver1_0}
     const
     const
        RT_RCDATA = PChar(10);
        RT_RCDATA = PChar(10);
 
 
@@ -208,8 +209,11 @@ unit types;
     function IsRectEmpty(const Rect : TRect) : Boolean;
     function IsRectEmpty(const Rect : TRect) : Boolean;
     function OffsetRect(var Rect : TRect;DX : Integer;DY : Integer) : Boolean;
     function OffsetRect(var Rect : TRect;DX : Integer;DY : Integer) : Boolean;
 
 
+{$endif ver1_0}
+
   implementation
   implementation
 
 
+{$ifndef ver1_0}
     function EqualRect(const r1,r2 : TRect) : Boolean;
     function EqualRect(const r1,r2 : TRect) : Boolean;
       begin
       begin
          EqualRect:=(r1.left=r2.left) and (r1.right=r2.right) and (r1.top=r2.top) and (r1.bottom=r2.bottom);
          EqualRect:=(r1.left=r2.left) and (r1.right=r2.right) and (r1.top=r2.top) and (r1.bottom=r2.bottom);
@@ -310,10 +314,14 @@ unit types;
            OffsetRect:=false;
            OffsetRect:=false;
       end;
       end;
 
 
+{$endif ver1_0}
+
 end.
 end.
 {
 {
   $Log$
   $Log$
-  Revision 1.1  2002-07-23 20:39:54  florian
-    + types unit added
+  Revision 1.2  2002-07-27 07:28:10  florian
+    * fixed errror on non win32 targets with 1.0.x when doing a make cycle
 
 
+  Revision 1.1  2002/07/23 20:39:54  florian
+    + types unit added
 }
 }