Ver Fonte

* fixed test for non-mswindows platforms

git-svn-id: trunk@10338 -
Jonas Maebe há 17 anos atrás
pai
commit
88bdf1d674
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      tests/webtbs/tw10825.pp

+ 2 - 0
tests/webtbs/tw10825.pp

@@ -10,7 +10,9 @@ uses
 var
  wstr1: widestring;
 begin
+{$ifdef mswindows}
  winwidestringalloc:= false;
+{$endif}
  //crash exist with winwidestringalloc also but with bigger application only
  wstr1:= '123';
  wstr1:= 'ABC'+wstr1+'abc';