瀏覽代碼

* use Sysutils for not fpc compilers

peter 23 年之前
父節點
當前提交
809a79fdab
共有 3 個文件被更改,包括 21 次插入3 次删除
  1. 7 1
      tests/test/units/system/trdtxt01.pp
  2. 7 1
      tests/test/units/system/trdtxt02.pp
  3. 7 1
      tests/test/units/system/trdtxt03.pp

+ 7 - 1
tests/test/units/system/trdtxt01.pp

@@ -1,6 +1,12 @@
 Program trdtxt01;
 
-uses strings;
+{$ifdef fpc}
+uses
+  strings;
+{$else}
+uses
+  SysUtils;
+{$endif}
 
 procedure test(b: boolean);
 begin

+ 7 - 1
tests/test/units/system/trdtxt02.pp

@@ -1,6 +1,12 @@
 Program trdtxt02;
 
-uses strings;
+{$ifdef fpc}
+uses
+  strings;
+{$else}
+uses
+  SysUtils;
+{$endif}
 
 procedure test(b: boolean);
 begin

+ 7 - 1
tests/test/units/system/trdtxt03.pp

@@ -1,6 +1,12 @@
 Program trdtxt03;
 
-uses strings;
+{$ifdef fpc}
+uses
+  strings;
+{$else}
+uses
+  SysUtils;
+{$endif}
 
 procedure test(b: boolean);
 begin