Explorar el Código

* fixed test for non-mswindows platforms

git-svn-id: trunk@10338 -
Jonas Maebe hace 17 años
padre
commit
88bdf1d674
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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';