Просмотр исходного кода

* 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 лет назад
Родитель
Сommit
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}
 
+uses sysutils;
+
 {$R tres1.res}
 
 procedure Fail(const Msg: string);