浏览代码

* Uses SysUtils to make executable bigger. Otherwise string pointers for FindResource can be less than $10000. They are treated as IDs in such case and the test will fail.

git-svn-id: branches/targetandroid@23433 -
yury 12 年之前
父节点
当前提交
7da7908441
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      tests/test/units/system/tres.pp

+ 2 - 0
tests/test/units/system/tres.pp

@@ -4,6 +4,8 @@
 
 
 {$mode objfpc}
 {$mode objfpc}
 
 
+uses sysutils;
+
 {$R tres1.res}
 {$R tres1.res}
 
 
 procedure Fail(const Msg: string);
 procedure Fail(const Msg: string);